Understanding KUBECTL - Learning Kubernetes

  Рет қаралды 10,342

That DevOps Guy

That DevOps Guy

Күн бұрын

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
@SnowboardPlata
@SnowboardPlata Жыл бұрын
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.
@FabianoChagas
@FabianoChagas Жыл бұрын
The videos you produce should be part of the official kubernetes trainings. thanks for sharing
@THIRSTYGNOME
@THIRSTYGNOME Жыл бұрын
Your videos blow the Linux Foundation training out of the water. So clear and concise.
@ashishbadgujar8215
@ashishbadgujar8215 Жыл бұрын
Expecting this a year back from you, coz I love your way of teaching :)
@derrickgraffam2249
@derrickgraffam2249 Жыл бұрын
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.
@daddydoescomedy
@daddydoescomedy 11 ай бұрын
Thank you so much for these videos you've made learning kubernetes a little bit easier
@Shubham__Saroj
@Shubham__Saroj Жыл бұрын
This video is one of the best. I have been waiting for it. Thanks a bunch 💪😊
@gentreshtani826
@gentreshtani826 Жыл бұрын
And he's back, everybody!!!
@abdisamaddheere9765
@abdisamaddheere9765 Жыл бұрын
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
@Itsme-kx1us
@Itsme-kx1us 11 ай бұрын
Tq soooo much sir for providing this amazing content at free of cost 🙏🙏🙏🙏
@andreigiubleanu
@andreigiubleanu Жыл бұрын
Marcel is the boss !
@ashishjullia638
@ashishjullia638 Жыл бұрын
Beautiful content
@dillonhansen71
@dillonhansen71 Жыл бұрын
We are blessed yet again by another knowledge drop from the lord himself.
@zenobikraweznick
@zenobikraweznick Жыл бұрын
Me: trying to do something with k8s cluster with some UI tools Kubectl: Dude, Do you even lift?
Жыл бұрын
Kubectx for contexts switching!
@argokabyken9268
@argokabyken9268 Жыл бұрын
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
@philc787
@philc787 3 ай бұрын
Fab 🎉
@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 Жыл бұрын
Great content Marcel. Does Kind support Nvidia GPU?
@MarcelDempers
@MarcelDempers Жыл бұрын
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.
@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
How to use  NGINX Ingress with Kubernetes in 2023
38:32
That DevOps Guy
Рет қаралды 67 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 46 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 54 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 7 МЛН
How to learn Kubernetes in 2022
41:57
That DevOps Guy
Рет қаралды 27 М.
Scaling Explained Through Kubernetes HPA, VPA, KEDA & Cluster Autoscaler
26:42
Storing Secrets in GIT | GitOps | Kubernetes
27:17
That DevOps Guy
Рет қаралды 17 М.
How to configure PostgreSQL | Learning | DevOps
24:00
That DevOps Guy
Рет қаралды 6 М.
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 74 М.
Why I use Windows as a DevOps Engineer
21:07
That DevOps Guy
Рет қаралды 16 М.
What is Kubernetes AFFINITY ?
17:28
That DevOps Guy
Рет қаралды 6 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 242 М.
Understanding Kubernetes RBAC | Access control basics explained
33:29
That DevOps Guy
Рет қаралды 48 М.
How to build a Kubernetes Webhook | Admission controllers
40:50
That DevOps Guy
Рет қаралды 24 М.