Day 8/40 - Kubernetes Deployment, Replication Controller and ReplicaSet Explained

preview_player
Показать описание
Welcome to Day 8/40 of the Certified Kubernetes Administrator (CKA) 2024 course. In this video, we will examine Kubernetes Deployment, Replication Controller, and Replica Set. We will discuss each component in detail and do a hands-on demo.

In this video, you'll learn:
- What is a replication controller in Kubernetes
- What is a ReplicaSet in Kubernetes
- What is a deployment in Kubernetes
- How to create a deployment and replica set in Kubernetes using Kubectl
- How to create a deployment and replica set in Kubernetes using YAML

👨🏼‍💻 #40daysofKubernetes Challenge:

📖 Course Schedule:
I'll release 3-4 videos per week and host live Q&A sessions on weekends to answer your questions and guide you through the CKA certification process.

🕵🏻‍♂️ Who Should Watch:
This CKA course is designed for beginners, college students, and working professionals who want to learn Kubernetes from scratch, prepare for the CKA certification exam, or enhance their knowledge. It was designed based on the latest curriculum for the CKA exam in May 2024 and uses 1.30.2 as the Kubernetes version.

Let's start your Kubernetes journey together!

𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 𝗧𝗨𝗧𝗢𝗥𝗜𝗔𝗟 𝗦𝗘𝗥𝗜𝗘𝗦 👌 It’s 🅵🆁🅴🅴 ⛳

✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀 𝗭𝗲𝗿𝗼 𝘁𝗼 𝗛𝗲𝗿𝗼:

✅ 𝗔𝗭𝟵𝟬𝟬 𝗔𝘇𝘂𝗿𝗲 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲

✅ 𝗡𝗮𝗺𝗮𝘀𝘁𝗲 𝗚𝗼𝗼𝗴𝗹𝗲 𝗖𝗹𝗼𝘂𝗱 | 𝗚𝗖𝗣 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀, 𝗮 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗽𝗹𝗮𝘆𝗹𝗶𝘀𝘁 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗔𝘀𝘀𝗼𝗰𝗶𝗮𝘁𝗲 𝗖𝗹𝗼𝘂𝗱 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿 (𝗔𝗖𝗘) 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗘𝘅𝗮𝗺:

✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗮𝘁𝗮 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗗𝗣 𝟵𝟬𝟬 𝗳𝘂𝗹𝗹 𝗰𝗼𝘂𝗿𝘀𝗲

✅ 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀

✅ #𝟭𝟬𝘄𝗲𝗲𝗸𝘀𝗼𝗳𝗰𝗹𝗼𝘂𝗱𝗼𝗽𝘀 - 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘅 𝗵𝗮𝗻𝗱𝘀-𝗼𝗻 𝗽𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗼𝗻 𝗖𝗹𝗼𝘂𝗱 𝗮𝗻𝗱 𝗗𝗲𝘃𝗢𝗽𝘀

✅ 𝗗𝗲𝘃𝗢𝗽𝘀 𝗮𝗻𝗱 𝗖𝗹𝗼𝘂𝗱 𝗣𝗼𝗱𝗰𝗮𝘀𝘁𝘀:

✅ 𝗚𝗶𝘁𝗹𝗮𝗯 𝗖𝗜 𝗖𝗗 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 | 𝗘𝗻𝗱 𝗧𝗼 𝗘𝗻𝗱 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 [𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲]

Subscribe to our channel to get notified about the latest videos.

-----------------------------------------------------------------------------------------------------------------------
𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝗺𝗲 𝗛𝗲𝗿𝗲:👇👇

-----------------------------------------------------------------------------------------------------------------------

References 📚:

#devops #techtutorialswithpiyush
Рекомендации по теме
Комментарии
Автор

Fantastic instructions. Learned so much with a lot of retention. Gaining competency quickly thanks to Piyush's excellent teaching methods.

ferdakavak
Автор

You simplify and make learning so easy. You are the man for the time and care that you put into your work. Thank you again for all that you do!

nope-msrx
Автор

fantastic content, as always!!!
what stood out to me most were the quick tips you share so effortlessly, like Vim shortcuts and shortcuts in VS code.

KrupakarReddy-qz
Автор

Even though the session is not two way interaction, though the each minute content is depth and amazing.. Thanks for making this...😇

LaxmiAdavalli-ok
Автор

wonderfully explained replicaset and deployment.💯

kundankumar
Автор

wonderfully explained, simple it's awesome

syamkumar
Автор

I have seen Many videos on Kubernetes but still i was having some doubts But after watch this kubernetes Playlist till Day 8 I have Understood the the Kubernetes Archtecture Pods Node Control panel Thanks for this

akifsalah
Автор

Great Salute for a neat and clean explanation... Looking forward for the complete course

kaarthickpk
Автор

That video was mind-blowing! The explanation was like a walk in the park.

SinghBalraj
Автор

I always thought that Kubernetes is tough but after watching your videos my assumption is wrong., Thanks

radhikagudidesi
Автор

Thank you for showing us the horizontal scaling and the new rollout without downtime!

floehden
Автор

Amazing like always, and yeah got a clear understanding on replication controller, replica set and deployment, thanks @piyush bruh.

udzhmsq
Автор

Hi Piyush, your way of teaching is really amazing, clear to understand.. I have little confusion in this Day 8, when you created ReplicationController and mentioned about template. After template you added again metadata and specs... can you please help me to understand it.. or can i read any article to understand it once more..

Abedunnisa-bt
Автор

Its a great explanation Piyush, one doubt about deployments, when rolling out update happens, lets say its banking application and user is making transaction to the application, when rolling update happens, then user transaction gets effected? how this works on a real scenairo?

Jalal
Автор

In the yml file we have give the pod name as nginx but when u run Kubectl get pod why its is taking ReplicationController name menioned in metadata

akifsalah
Автор

so, instead of using replicaset individualy we have to use it inside deployment yaml file. What is the good practice to do it?

salmanbintariq
Автор

Thank you for such an elaborate video, Piyush. Indeed a Great explanation. This time I have a few doubts 😅😅

1. How can we see the containers in the pod. Like I saw in the video that we can see the pods, deployments, replicationsets. but canwe do the same for containers? Also, does pod have limit for number of containers it can have?

2. in one of the previous videos and this video you showed us a way of generating a yaml file through the CLI commands (the dry run method). Can we do something like that for DockerFile as well?

karnajeetsawant
Автор

For ex, rs named a pod as `aaa-123` so here aaa is rs and 123 is pod ??
when pod is destroyed, then the new pod gets a new name(bbb-456) or or just pod name gets changed(aaa-678)
and what happens in case node scale down ? does name of rs all to gether changes ??

pcpmvbp
Автор

Can someone pls tell me what exactly is rs/nginx-rs? (at 20:16 ) Cuz im getting an error that says "NotFound"

adityapradhan