Kubernetes YAML File Explained - Deployment and Service | Kubernetes Tutorial 19

preview_player
Показать описание
Learn configuration file syntax using Kubernetes Deployment YAML | YAML for Kubernetes

In this video I explain YAML Configuration File in Kubernetes, which is the main tool for creating and configuring components in Kubernetes cluster.

I show you the syntax and contents of Kubernetes configuration file by showing how to create and connect deployment/pod and service component.

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:27 - 3 parts of a Kubernetes configuration file
0:45 - metadata and specification
1:54 - status
3:35 - format of configuration file
4:46 - blueprint for pods (template)
5:59 - connecting services to deployments and pods (label & selector & port)
6:18 - connecting deployment to pods
6:59 - connecting services to deployments
7:37 - ports
8:50 - demo

▬▬▬▬▬▬ Useful links 🖇 ▬▬▬▬▬▬

▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬

#kubernetes #kubernetestutorial #devops #techworldwithnana
-------------------------------------------------------------------------------------------------------

This video is the 19th of a complete series for beginners. At the end of this tutorial you will fully understand Docker and Kubernetes.

The complete step-by-step guide to Docker and Kubernetes will include the following topics:

🐳 DOCKER basics:
- Container concept
- Why docker? (image vs. traditional DevOps)
- Install docker on different operating systems
- 8 basic commands you need to know (2 parts)
- Docker vs. Virtual Machine
- Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment) Probably 3-5 videos including Docker-Compose, Dockerfile, Private Repository.
- Docker Volumes in theory and practice

✵ KUBERNETES basics:
- Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
- Kubernetes architecture for beginners (master, slave nodes & processes)
- How Kubernetes makes high availability, scalability and disaster recovery possible
- Minikube, Kubectl - set up the cluster
- Kubectl basic commands - Demo
- Configuration file (YAML) - syntax
- Communication between the pods - basic networking concepts in Kubernetes
- K8s Deployment in practice - example application deployment (pod + service + Ingress + secret)
- K8s Volumes explained
- Persistence in K8s

▬▬▬▬▬▬ Maybe interesting for you 😎 ▬▬▬▬▬▬

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.
Рекомендации по теме
Комментарии
Автор

0:27 - 3 parts of a Kubernetes configuration file
0:45 - metadata and specification
1:54 - status
3:35 - format of configuration file
4:46 - blueprint for pods (template)
5:59 - connecting services to deployments and pods (label & selector & port)
6:18 - connecting deployment to pods
6:59 - connecting services to deployments
7:37 - ports
8:50 - demo

👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.

Please don't forget to subscribe and give me a thumbs up if you liked my video 😊

TechWorldwithNana
Автор

Nana, without sarcasm -- you are doing god's work thank you. K8s docs do not cut it for actually understanding anything.

zackyang
Автор

it's kind of ridiculous how good this series is. Amazingly good. If this had been my first step towards Kubernetes, I would have saved quite a lot of time. Nana has a video on why she chose devops as her career, which I have not yet watched, but if she is better at devops than she is at teaching, she must be off the charts good at devops. I suppose she really likes devops and is motivated to make this astoundingly good material to encourage others to follow her.

Thank you so much for this.

TimRichardson_GrowthPath
Автор

I gotta say, the more videos I watch your videos, the clearer it is about Kubernetes.

Keep up the awesome work!

tanngo
Автор

I'm amazed how simole those explanations are. I figured out all myself but anyway it's worth to go through one more time.
Thanks

Ruben-byoy
Автор

OMG!!! Your explanation on "label & selector & port", @6:00, helps me understand the relationship in Home Assistants' YAML files and the components with in them. These points are greatly missing from their docs. THANK YOU!!! From ALL the reading and research, I finally found the answer. Please keep up the great work. I'll look for your courses in udemy for sure.

bgable
Автор

I reviewed a project for kubernetes at my company last week. I was overwhelmed with yaml files. I was confused about the pattern of attributes. This video helped me understand the inner details tremendously. Thank you.

manuelsteele
Автор

Nana, Thank you for superb, simple, clear tutorial of K8.

swapnilk
Автор

Wow what a greate explanation, Thanks for the nice and perfect video.
so i understoond clearly
*)what is Label & selector
*)connection B/W Deployment and Pods connection

*)connection B/W Deployment and services
Please keep posting this usefull videos.

jayaprakashdeav
Автор

I downloaded a paid course but since i found your videos i've been following them instead.
Thank you for making this publicly available on the youtubes.
Done thanks, notes copied to onenote

mostinho
Автор

Detail expiations about both the deployment and service. Thanks a lot and wishing you best ...

rejawebs
Автор

Thanks for this. I was so confused when I came across a YAML file with "spec: template: spec". I really wish the documentation explained it more simply. This video clears things up nicely

nO_dNAL
Автор

It is legit comforting to click on a new subject and hear Nana's voice because I know that it will be great and I'll soon have all the context :D

polartechie
Автор

Re: 6:59 - connecting services to deployments
Small correction - I think it is important to note.
Service manifest in service.spec.selector is using labels of pods, not deployment.
So frames at 7:12 -7:36 should not have arrow pointing to deployment (upper arrow)

basilio
Автор

Hi Nina, I started my career as a platform engineer last month and had no idea how to learn Kubernetes by myself (cuz my background is front-end and had 'some' knowledge in docker containers). When I got some tasks related to template/config in YAML format, I literally didn't know how to start or where to begin. Thanks to your amazing lectures, now I feel I'm getting used to the concept of K8S. Thank you very very much Nina. I hope you have a great day.

BM-elkl
Автор

Hi Nana, you are such a good trainer. Thanks a lot for the session. The way u r teaching it's really good nd concepts r crystal clear. May God bless u with happiness nd success.

amulsharma
Автор

You are a fantastic instructor. Your explanation videos are direct and clear. You describe things clearly and provide context while keeping the primary focus of the lesson in mind.

whoistechcmty
Автор

you are awesome Nana. Thank you for sharing knowledge with us.

SJJ
Автор

Thank you Nana for making best productive tutorials

prasadrayudu
Автор

Best K8 tutorials I have found! I will ensure to like each video I watch!

Linyatyat