Day 8/40 - Kubernetes Deployment, Replication Controller and ReplicaSet Explained
à¸à¸±à¸‡
- เผยà¹à¸žà¸£à¹ˆà¹€à¸¡à¸·à¹ˆà¸ 26 มิ.ย. 2024
- 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
🚀 Reinforce your knowledge with practical tasks in the Day 8 folder of our GitHub repository: github.com/piyushsachdeva/CKA...
👨ðŸ¼â€ðŸ’» #40daysofKubernetes Challenge:
Join our 40-day challenge and solidify your Kubernetes skills. Details can be found in the "#40daysofkubernetes.md" file on GitHub or by watching our Day 0 video.
📖 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 🅵ðŸ†ðŸ…´ðŸ…´ ⛳
✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—ð—²ð—¿ð—¼ ð˜ð—¼ ð—›ð—²ð—¿ð—¼:
• Azure DevOps Zero to H...
✅ ð—”ð—ðŸµðŸ¬ðŸ¬ ð—”ð˜‡ð˜‚ð—¿ð—² ð—™ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²
• AZ900WithPiyush - Azur...
✅ ð—¡ð—®ð—ºð—®ð˜€ð˜ð—² ð—šð—¼ð—¼ð—´ð—¹ð—² ð—–ð—¹ð—¼ð˜‚ð—± | ð—šð—–ð—£ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—¯ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€, ð—® ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜ð—² ð—½ð—¹ð—®ð˜†ð—¹ð—¶ð˜€ð˜ ð—³ð—¼ð—¿ ð˜ð—µð—² ð—”ð˜€ð˜€ð—¼ð—°ð—¶ð—®ð˜ð—² ð—–ð—¹ð—¼ð˜‚ð—± ð—˜ð—»ð—´ð—¶ð—»ð—²ð—²ð—¿ (ð—”ð—–ð—˜) ð—–ð—²ð—¿ð˜ð—¶ð—³ð—¶ð—°ð—®ð˜ð—¶ð—¼ð—» ð—˜ð˜…ð—®ð—º:
• Namaste Google Cloud, ...
✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—®ð˜ð—® ð—³ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð——ð—£ ðŸµðŸ¬ðŸ¬ ð—³ð˜‚ð—¹ð—¹ ð—°ð—¼ð˜‚ð—¿ð˜€ð—²
• Microsoft Azure Data F...
✅ ð—ð—²ð—»ð—¸ð—¶ð—»ð˜€ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—•ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€
• Jenkins Tutorial For B...
✅ #ðŸðŸ¬ð˜„ð—²ð—²ð—¸ð˜€ð—¼ð—³ð—°ð—¹ð—¼ð˜‚ð—±ð—¼ð—½ð˜€ - ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜… ð—µð—®ð—»ð—±ð˜€-ð—¼ð—» ð—½ð—¿ð—¼ð—·ð—²ð—°ð˜ð˜€ ð—¼ð—» ð—–ð—¹ð—¼ð˜‚ð—± ð—®ð—»ð—± ð——ð—²ð˜ƒð—¢ð—½ð˜€
• 10WeeksOfCloudOps Chal...
✅ ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—®ð—»ð—± ð—–ð—¹ð—¼ð˜‚ð—± ð—£ð—¼ð—±ð—°ð—®ð˜€ð˜ð˜€:
• DevOps and Cloud Podcasts
✅ ð—šð—¶ð˜ð—¹ð—®ð—¯ ð—–𗜠ð—–ð—— ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ | ð—˜ð—»ð—± ð—§ð—¼ ð—˜ð—»ð—± ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—£ð—¿ð—¼ð—·ð—²ð—°ð˜ [ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²]
• Gitlab CI CD Tutorial ...
Subscribe to our channel to get notified about the latest videos.
🔥 / techtutorialswithpiyush
-----------------------------------------------------------------------------------------------------------------------
ð—–ð—¼ð—»ð—»ð—²ð—°ð˜ ð—ºð—² ð—›ð—²ð—¿ð—²:👇👇
🔥ð—¬ð—¼ð˜‚ð—§ð˜‚ð—¯ð—² â–¶ / techtutorialswithpiyush
⛳ð—Ÿð—¶ð—»ð—¸ð—²ð—±ð—œð—» â–¶ / piyush-sachdeva
🚀ð—œð—»ð˜€ð˜ð—®ð—´ð—¿ð—®ð—º â–¶ / techtutorialswithpiyush
ðŸŒð—§ð˜„ð—¶ð˜ð˜ð—²ð—¿ â–¶ / techie_piyush
👨â€ðŸ’» ð—šð—¶ð˜ð—µð˜‚ð—¯ â–¶ github.com/piyushsachdeva
✠ð— ð—²ð—±ð—¶ð˜‚ð—º.ð—°ð—¼ð—º â–¶ / piyush.sachdeva055
📚 ð—±ð—²ð˜ƒ.ð˜ð—¼ â–¶ dev.to/piyushsachdeva
✨ð——ð—¶ð˜€ð—°ð—¼ð—¿ð—± â–¶ / discord
-----------------------------------------------------------------------------------------------------------------------
References 📚:
#devops #techtutorialswithpiyush - วิทยาศาสตร์à¹à¸¥à¸°à¹€à¸—คโนโลยี
Thanks for such informative content
Thank you for such valuable content
Awesome content! Thank you.
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
That is a huge compliment for me, THank you so much
Thanks sir. always clear
Welcome buddy!
nice content
Thankyou!
thanks!!
You're welcome!
thanks
That video was mind-blowing! The explanation was like a walk in the park.
Wow, thanks! Super happy to hear that
Many thanks
You are welcome
Thank you for showing us the horizontal scaling and the new rollout without downtime!
You're welcome
Thanks for sharing thisâ¤
My pleasure 😊
Amazing like always, and yeah got a clear understanding on replication controller, replica set and deployment, thanks @piyush bruh.
Awesome, thats all I want. Make sure to practise the hands-on task given in the day08 folder of the repo.
@@TechTutorialswithPiyush yeah bruh, had done it already, waiting for the upcoming videos.
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..
Thank you for the feedback! The metadata and spec inside template is from the pod. When we are creating a replicaset we are creating a template that it will be using incase a pod fails, the rs has to create a new pod using a template which has the image details, port details, etc
so, instead of using replicaset individualy we have to use it inside deployment yaml file. What is the good practice to do it?
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
Can you mention the timestamp? are you referring to pod name or container name?
CKA practice question, Please share
Check out the Github repository, day 08 folder for the practise tasks related to this video
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?
Having doubts are good :) Let me try to answer:
1) There is a dedicated video for multi-containers pod, day11 will cover these things. There is no limit as such , it depends on the resources that you have available plus it is advisable to only have multiple containers if absolutely need such as side car containers for monitoring pod, init containers that does a specific task before the main container and so on.
2) YAML can be generated for only kubernetes resource/objects not for dockerfile. However, if you want to generate dockerfile, try out docker init command, it was a recent feature released by docker which generates the dockerfile as per your project structure.
@@TechTutorialswithPiyush gotcha. Thanks a ton Piyush for taking some time out and answering my doubts. I really appreciate it.
I wish you made these videos in Hindi
I started this channel in english so that I can create the maximum impact for non-hindi audience as well. When you give an interview, they dont ask your questions in hindi and you dont reply back in hindi, then shouldnt we learn in the same laguage that we will be using during the interview and to interact with any clients?
@@TechTutorialswithPiyush Yes I can understand this but if you made video in hindi/urdu that is more helpful for me in understanding the concept.
@@wamique99 I have been running this channel for 3 years and I cannot change the format now. Sorry about that
@@TechTutorialswithPiyush ok no problem