Understanding KUBECTL - Learning Kubernetes
Ғылым және технология
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
Your videos blow the Linux Foundation training out of the water. So clear and concise.
The videos you produce should be part of the official kubernetes trainings. thanks for sharing
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.
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.
Expecting this a year back from you, coz I love your way of teaching :)
And he's back, everybody!!!
Thank you so much for these videos you've made learning kubernetes a little bit easier
This video is one of the best. I have been waiting for it. Thanks a bunch 💪😊
Tq soooo much sir for providing this amazing content at free of cost 🙏🙏🙏🙏
Welcm back boss, missed your videos on kubernetes, i would like to see GKE with terraform and Gitlab CICD on top of kubernetes.
@SnowboardPlata
Жыл бұрын
Would also love to see a gcp gke in terraform. Also databases on kubernetes
Marcel is the boss !
We are blessed yet again by another knowledge drop from the lord himself.
Beautiful content
Fab 🎉
Me: trying to do something with k8s cluster with some UI tools Kubectl: Dude, Do you even lift?
Kubectx for contexts switching!
How does your service select your deployment pods, since you didn't provide labels or selectors, or used kubectl expose on it?
@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
Great content Marcel. Does Kind support Nvidia GPU?
@MarcelDempers
Жыл бұрын
I have no idea. GPU is not something I've explored before
@kalindusekarage5951
Жыл бұрын
@@MarcelDempers Thanks for the reply. If you got a chance please make video on how to enable GPU in kubernetes.
Is there a way you can deploy to kind cluster using azure devops cicd?
@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
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
Жыл бұрын
for some, keeping environmental config separate helps. Prevents mistakenly access incorrect contexts and requires intentional config switch to make that mistake