Kubernetes 101: Deploying Your First Application!

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 75

  • @umwhathowmany
    @umwhathowmany 10 місяців тому +6

    Wow! at 40min you certainly covered a lot and didn't waste a second.
    I am an HPC engineer kicking the tires on Kubernetes. I set up OpenStack in my home lab and RKE2 Kubernetes with Rancher and Longhorn. This was exactly what I needed to put it to work.
    Thanks!

  • @BryceYoder-tj3qg
    @BryceYoder-tj3qg 7 місяців тому +11

    I don't comment frequently, but I need you to know that I have watched/read a fair number of K8s tutorials before and none of them were as clear as this one by a mile. You do an excellent job of just showing the whole process, beginning to end, explaining each concept simply in a way that brings it all together. Kudos.

    • @DevOpsDirective
      @DevOpsDirective  4 місяці тому

      @@BryceYoder-tj3qg you should check out the real course :)
      ua-cam.com/video/2T86xAtR6Fo/v-deo.htmlsi=SSbsVBwBixrjJhv3

  • @hesamkashefi
    @hesamkashefi 8 місяців тому +1

    I hope to see more videos like this on the internet! Explaining everything not just parts of it! Thanks!

  • @streetfighteryamahar178
    @streetfighteryamahar178 4 місяці тому +1

    By faR the best 40 minute video I have ever watched to learn something new in one sitting. I seriously mean it, this was about 90% of what I needed to get my AI project on the web! Thank you so much!

  • @TannerBarcelos
    @TannerBarcelos Рік тому +2

    Crazy how all this was confusing and made no sense to me before. After watching this, for whatever reason, so many blockers are gone. Thank you so much!
    Still gotta go through the tutorial properly / further practice my Docker and Linux skills, but this opened up a lot of those blockers!

  • @prasiddhi15
    @prasiddhi15 8 днів тому

    Simple and brilliant content. Helped me to understand better about K8S. Thank you :)

  • @iam_mz
    @iam_mz 10 місяців тому +4

    Pls make more video contents about Kubernetes. Your courses are so industry standard and helped me to improve so much to industry standard.

    • @DevOpsDirective
      @DevOpsDirective  4 місяці тому

      @@iam_mz here ya go!
      ua-cam.com/video/2T86xAtR6Fo/v-deo.htmlsi=SSbsVBwBixrjJhv3

    • @iam_mz
      @iam_mz 4 місяці тому

      @@DevOpsDirective Thank you so much, I've gone through the video and it is so much informative and helpful!!!! ❤

  • @kylep4991
    @kylep4991 Рік тому +2

    Excellent video! While working on your Docker tutorial course, I decided to watch this video as we used Kubernetes instead of shipyard where I work. This was a great way to the general idea of what Kubernetes does to help manage and deploy your docker containers!

  • @berkantay790
    @berkantay790 Рік тому +2

    These topics were used to seem blended and unclear for me before, but after watching this video it all shaped in my mind. Thanks a lot!!

  • @mauvezebra
    @mauvezebra 3 місяці тому

    This is super helpful! Also the mini-debug you showed towards the end was helping me lots.

  • @AyushmaanSinha
    @AyushmaanSinha Місяць тому

    Awesome video , really found something good after searching a lot . Hope your channel grows.

  • @JackAdler-f6i
    @JackAdler-f6i 3 місяці тому +1

    If you're using a more recent version of fastapi, and seeing an error along the lines of "To use the fastapi command, please install "fastapi[standard]": pip install "fastapi[standard]" ", then change the requirements.txt file to instead import `fastapi[standard]~=`. For example, `fastapi[standard]~=0.112`.

  • @nokzeo2777
    @nokzeo2777 11 місяців тому

    Excellent content Sid, keep uploading CI/CD integrated pipeline, it will be really, really helpful.

  • @mrprovisional
    @mrprovisional Місяць тому

    This is fantastic! Huge help!

  • @piofthings
    @piofthings Місяць тому

    lovely and succinct! Very nicely done.

  • @Zetiake
    @Zetiake 2 місяці тому

    Thanks for this. Very straughtforward

  • @pahambasic
    @pahambasic 6 місяців тому

    Clean and Great content bro,
    next time please create some content about autoscaling in kubernetes environment, Kudos 🔥

  • @neelshah1651
    @neelshah1651 Місяць тому

    Great one, Thank you

  • @parveenpandit168
    @parveenpandit168 2 роки тому

    Thanks for the video Sid.. You made it very easy. Love watching it and implemented

  • @anmolarora885
    @anmolarora885 Рік тому

    Awesome work. Thanks for putting this on UA-cam

  • @imagineabout4153
    @imagineabout4153 8 місяців тому

    Amazingly incredibile tutorial ❤

  • @sakibsaki4916
    @sakibsaki4916 11 місяців тому

    Very good explanation 👏

  • @PetritK10
    @PetritK10 2 роки тому

    Thank you boss, keep it going with DevOPS

  • @zekorts
    @zekorts Рік тому

    Awesome video for getting started with k8s. 👏

  • @alphabetbrumby
    @alphabetbrumby 10 місяців тому +1

    This is still awesome content, thanks Sid. I hope you keep going..
    I did have one issue. The deployment went in error: 'MinimumReplicasUnavailable'. The Pod logs showed: 'exec /usr/local/bin/uvicorn: exec format error'. Turned out this happened because I built my docker image on my M1 mac. I needed to include '--platform=linux/amd64' in order to build for the Civo amd64 Nodes. Thanks again.

    • @DevOpsDirective
      @DevOpsDirective  10 місяців тому +1

      Thanks! I've been in a bit of a content hibernation recently focused on some consulting work, but hoping to pick back up soon(ish)!
      It's a shame there is not a clearer error for "image built for the wrong platform" errors. I remember losing a couple of hours the first time I encountered that one! Nice job figuring out the root cause! 👏

  • @jessekumbaine9857
    @jessekumbaine9857 7 місяців тому

    Thanks, this was very helpful.

  • @chris0628
    @chris0628 Рік тому

    Excellent content 👍🏽 to the point!!

  • @CasperWest
    @CasperWest Рік тому

    How can I figure out the public ip address of cluster using rancher ?

  • @simon_smale
    @simon_smale 11 місяців тому

    Thanks, that was a great explanation. Can you recommend similar for terraform, helm and ansible?

  • @softcoda
    @softcoda 4 місяці тому

    Why Port forward after creating the pods. I thought that was already defined within the deployment file. Also, thh hi ought the service configuration was supposed to provide similar functionality

    • @DevOpsDirective
      @DevOpsDirective  4 місяці тому

      @@softcoda port forwarding is just a quick way to validate it is working as expected.
      You are correct that you would expose via a service for actually communicating with the pods on an ongoing basis

  • @gzion7
    @gzion7 Місяць тому

    I'm new to Kubernetes. Maybe I missed something, but how does your local environment know to push to dockerhub?

  • @MrYassineSalhi
    @MrYassineSalhi 2 роки тому +1

    Commenting for though algorithm

    • @DevOpsDirective
      @DevOpsDirective  2 роки тому +1

      "Thank you for your input. I will recommend this video to many more potential viewers" - The YT Algorithm

  • @jazzochannel
    @jazzochannel 4 місяці тому

    35:50 lol :p the variable name is not dollar-hostname, just hostname ;)

  • @jondogerman4195
    @jondogerman4195 3 місяці тому

    Fantastic

  • @softcoda
    @softcoda 4 місяці тому

    Amazing amazing. Thank you so much for this tutorial. This has been one major confusion in my mind, while trying to learn k8.
    Do you have any corresponding paid courses?

    • @DevOpsDirective
      @DevOpsDirective  4 місяці тому

      @@softcoda just last week I released a comprehensive 6hr k8s course that goes way more in depth than this video!
      ua-cam.com/video/2T86xAtR6Fo/v-deo.htmlsi=SSbsVBwBixrjJhv3

  • @mateussarmento7692
    @mateussarmento7692 Рік тому +1

    Thank you, van gogh

  • @thibaultvandamme2750
    @thibaultvandamme2750 2 роки тому

    Thanks a lot. Does the video you mentionned at 36:56 already exists?

  • @haarishk2302
    @haarishk2302 Рік тому

    How do i get the external IP, if my cluster is running on minikube ?

  • @rushikeshnaik779
    @rushikeshnaik779 8 місяців тому

    WOW!!!!!!!!!!!!!!!!!!!!!!!

  • @SuperNugget92
    @SuperNugget92 Місяць тому

    How did you manage to make the audio quality worse while using a standalone microphone when even your phone could pick up better sound?

    • @DevOpsDirective
      @DevOpsDirective  Місяць тому

      Likely due to my office/recording space being crammed into a tiny bedroom with lots of hard surfaces causing the audio to bounce around and echo.
      Sorry for your experience, SuperNugget.

  • @youtubeoneverything4581
    @youtubeoneverything4581 2 роки тому

    thanks for this nice & easy tutorial. I have questions
    1. did you already have wildcart TLS certs generated for your domain ?
    2. How did you validate the sub-domain with ingress ? you didn't pass the certs in your yaml file

    • @DevOpsDirective
      @DevOpsDirective  2 роки тому +3

      Hello -- I kind of glossed passed this in the video.
      I am using CloudFlare with "Flexible SSL mode" turned on developers.cloudflare.com/ssl/origin-configuration/ssl-modes/#flexible
      In this configuration, TLS is terminated at Cloudflare and then the request is sent to the Kubernetes ingress over HTTP

    • @youtubeoneverything4581
      @youtubeoneverything4581 2 роки тому

      @@DevOpsDirective ok will look into it. Is this setup recommend for production deployment ?

    • @DevOpsDirective
      @DevOpsDirective  2 роки тому +1

      It makes things simple, but is less secure (since traffic is unencrypted from cloudflare's servers to your own).
      If you are dealing with sensitive data I would opt for a solution where you terminate TLS in your cluster (or at least at the loadbalancer within your VPC). I don't think the Civo load balancer has an option to terminate TLS there, I think the best bet for Civo would be to use cert-manager.io/ to manage them.

    • @youtubeoneverything4581
      @youtubeoneverything4581 2 роки тому

      @@DevOpsDirective understood. Thanks

  • @ShivangShandilyaa
    @ShivangShandilyaa Рік тому

    Thanks a lot for this Sid😁. I'm new to K8's and before moving to new tech I want to get my hands dirty with some projects on K8's so can you please guide me to some beginner friendly projects? Appreciate all the hard work😅

  • @vikaskanojia2015
    @vikaskanojia2015 2 роки тому

    wow Sid, What is this terminal called

  • @rabindrajaiswal5329
    @rabindrajaiswal5329 5 місяців тому

    nice

  • @jazzochannel
    @jazzochannel 4 місяці тому

    hexelent!

  • @dirien
    @dirien 2 роки тому

    Create session Sid!

    • @DevOpsDirective
      @DevOpsDirective  2 роки тому

      Thanks, Engin! Probably a bit elementary for you, but wanted to put together an end to end example!

  • @VrashabhSontakke
    @VrashabhSontakke 2 роки тому +1

    Hey Sid, you are my biggest inspiration. Would you please be my mentor while I learn operations ? I am planning to post my learning journey on youtube from the very beginning as an example for the community. I have come a long way to this point and I would be really grateful if you please mentor me on my further journey. 🙏

    • @DevOpsDirective
      @DevOpsDirective  2 роки тому +3

      Thanks for the kind words! 🙏
      I just subscribed to your channel and look forward to seeing your progress!
      As far as mentorship, I would suggest you join the DevOps Directive discord server discord.devopsdirective.com/. I'm always happy to have discussions there about learning, career, growth, etc! I prefer to have discussions in public so that others can participate and potentially benefit from the dialog!

    • @VrashabhSontakke
      @VrashabhSontakke 2 роки тому +1

      @@DevOpsDirective Yeah, sounds better than personal mentorship. Let me hop into the server. And thank you so much that you subscribed.

  • @arthurDAGREAT
    @arthurDAGREAT Рік тому

    Great vid ! but a layman with no under of k8 will not understand anything

    • @DevOpsDirective
      @DevOpsDirective  Рік тому

      Yeah, need a theory session first… maybe this should be called “Kubernetes 102” 😅

  • @alexc7289
    @alexc7289 9 місяців тому +3

    The part where you create a kubernetes cluster seems a bit off to me. Isn't the point of a kubernetes cluster to be highly available when nodes fail? Chances are, if one node fails, ALL your nodes/pods are experiencing the same issue and your entire cluster is useless. If your datacenter has an outage/dns problem/whatever your entire kubernetes cluster goes down. What's the point? Shouldn't you have multiple control planes, loadbalancers, etcd, nodes and whatever else across multiple geographic locations? Seems like kubernetes solves nothing and adds complexity. The whole "restart bad pods inside nodes" thing seems pretty bad because all pods are in the same place/environment experiencing the same issues as every other pod. No amount of restarting will create high availability.

    • @GlassFamFishing
      @GlassFamFishing 9 місяців тому

      In an enterprise yes where you personally aren’t paying the cloud costs - but for this guys example it wouldn’t make sense to have geographical points of presence.

    • @alexc7289
      @alexc7289 9 місяців тому +1

      @@GlassFamFishing It doesn't make sense to install kubernetes here then. What's the point? Kubernetes is supposed to be for "high availability". Either it is or isn't.

    • @GlassFamFishing
      @GlassFamFishing 9 місяців тому

      @@alexc7289 because this is just a simple tutorial to help folks get started..

  • @kramprabhu
    @kramprabhu 9 місяців тому

    Sorry to say, You need to learn "How to Teach". You might be good subject skilled but lacking the teaching skill.