Understanding KUBECTL - Learning Kubernetes

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2024
  • In this guide we go through the installation and usage of the popular command line utility that is used to operate Kubernetes clusters.
    Subscribe to show your support! goo.gl/1Ty1Q2 .
    Patreon 👉🏽 / marceldempers
    Checkout the source code below 👇🏽 and follow along 🤓
    Also if you want to support the channel further, become a member 😎
    marceldempers.dev/join
    Checkout "That DevOps Community" too
    marceldempers.dev/community
    Source Code 🧐
    --------------------------------------------------------------
    github.com/marcel-dempers/doc...
    If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
    Kubernetes Guide for Beginners:
    ---------------------------------------------------
    • Kubernetes development...
    Kubernetes Monitoring Guide:
    -----------------------------------------------
    • Kubernetes Monitoring ...
    Kubernetes Secret Management Guide:
    --------------------------------------------------------------
    • Kubernetes Secret Mana...
    Like and Subscribe for more :)
    Follow me on socials!
    marceldempers.dev
    Twitter | / marceldempers
    GitHub | github.com/marcel-dempers
    Facebook | thatdevopsguy
    LinkedIn | / marceldempers
    Instagram | / thatdevopsguy
    Music:
    Track: Amine Maxwell - Amine Maxwell & MICHAL - Chill Night | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / amine-maxwell-michal-c...
    Track: Amine Maxwell - Cafe Cubano | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / cafe-cubano
    Track: Amine Maxwell - sunset tree | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / sunset-tree
    Track: Fox Beat 2 - Joakim Karud - Summer Vibes - Royalty Free Vlog Music [BUY=FREE] | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / joakim-karud-summer-vi...
    Track: Reckoner - lofi hip hop chill beats for study~game~sleep | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / reckoner-lofi-hip-hop-...
    Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / parallel
    Timestamps:
    00:00 Intro
    01:14 Source Code
    01:41 Installing kubectl
    05:18 Running Kubernetes
    08:29 Kubeconfig files
    11:40 kubectl config
    13:55 setting kubeconfig files
    17:25 Namespaces
    18:30 kubectl get
    18:41 kubectl create
    29:02 Output YAML
    29:51 Sponsor
    31:18 Declarative YAML and kubectl apply
    39:05 Cleanup
    39:33 Outtro
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 26

  • @FabianoChagas
    @FabianoChagas ปีที่แล้ว +2

    The videos you produce should be part of the official kubernetes trainings.
    thanks for sharing

  • @THIRSTYGNOME
    @THIRSTYGNOME ปีที่แล้ว +2

    Your videos blow the Linux Foundation training out of the water. So clear and concise.

  • @SnowboardPlata
    @SnowboardPlata ปีที่แล้ว +2

    Thank you so much for making these videos and explaining so thoroughly instead of assuming that us new folks know already what much of the terminology means.

  • @derrickgraffam2249
    @derrickgraffam2249 ปีที่แล้ว +1

    Thank you for explaining how usually you will run everything with a kubectl apply -f. When I first started learning the other way then it was confusing to just go over doing all the setup with a single command. Really enjoying your vids in general.

  • @ashishbadgujar8215
    @ashishbadgujar8215 ปีที่แล้ว +2

    Expecting this a year back from you, coz I love your way of teaching :)

  • @daddydoescomedy
    @daddydoescomedy 10 หลายเดือนก่อน

    Thank you so much for these videos you've made learning kubernetes a little bit easier

  • @gentreshtani826
    @gentreshtani826 ปีที่แล้ว +1

    And he's back, everybody!!!

  • @Itsme-kx1us
    @Itsme-kx1us 11 หลายเดือนก่อน

    Tq soooo much sir for providing this amazing content at free of cost 🙏🙏🙏🙏

  • @abdisamaddheere9765
    @abdisamaddheere9765 ปีที่แล้ว +4

    Welcm back boss, missed your videos on kubernetes, i would like to see GKE with terraform and Gitlab CICD on top of kubernetes.

    • @SnowboardPlata
      @SnowboardPlata ปีที่แล้ว

      Would also love to see a gcp gke in terraform. Also databases on kubernetes

  • @Shubham__Saroj
    @Shubham__Saroj ปีที่แล้ว

    This video is one of the best. I have been waiting for it. Thanks a bunch 💪😊

  • @andreigiubleanu
    @andreigiubleanu ปีที่แล้ว +1

    Marcel is the boss !

  • @ashishjullia638
    @ashishjullia638 ปีที่แล้ว

    Beautiful content

  • @dillonhansen71
    @dillonhansen71 ปีที่แล้ว

    We are blessed yet again by another knowledge drop from the lord himself.

  •  ปีที่แล้ว

    Kubectx for contexts switching!

  • @zenobikraweznick
    @zenobikraweznick ปีที่แล้ว +2

    Me: trying to do something with k8s cluster with some UI tools
    Kubectl: Dude, Do you even lift?

  • @philc787
    @philc787 2 หลายเดือนก่อน

    Fab 🎉

  • @argokabyken9268
    @argokabyken9268 ปีที่แล้ว +1

    How does your service select your deployment pods, since you didn't provide labels or selectors, or used kubectl expose on it?

    • @MarcelDempers
      @MarcelDempers  ปีที่แล้ว

      Very good question. I did not realise but I believe when using "kubectl create service" and specifying the service name the same as the deployment name I believe it will use a selector to match the name of which the service was created by.
      Now because my name of my deployment and service is the same, their selectors and labels happened to match.
      I probably should have shown the selector explicitly

  • @jdubeau007
    @jdubeau007 ปีที่แล้ว

    at 16:44, why wouldn't you merge the config and switch the context. Let say one context for Docker-Desktop and another Digital Ocean (kadmn) cluster.

    • @MarcelDempers
      @MarcelDempers  ปีที่แล้ว

      for some, keeping environmental config separate helps. Prevents mistakenly access incorrect contexts and requires intentional config switch to make that mistake

  • @jobinjose5215
    @jobinjose5215 ปีที่แล้ว

    Is there a way you can deploy to kind cluster using azure devops cicd?

    • @MarcelDempers
      @MarcelDempers  ปีที่แล้ว

      You could use something like Flux or a GitOps approach to pull things into a kind cluster. However, I would avoid hooking up CI/CD pipelines to kind since kind is purely for local k8s testing

  • @kalindusekarage5951
    @kalindusekarage5951 ปีที่แล้ว +1

    Great content Marcel. Does Kind support Nvidia GPU?

    • @MarcelDempers
      @MarcelDempers  ปีที่แล้ว +1

      I have no idea. GPU is not something I've explored before

    • @kalindusekarage5951
      @kalindusekarage5951 ปีที่แล้ว

      @@MarcelDempers Thanks for the reply. If you got a chance please make video on how to enable GPU in kubernetes.