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

Ғылым және технология

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

Пікірлер: 76

  • @nope-ms4rx
    @nope-ms4rx13 күн бұрын

    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!

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    12 күн бұрын

    You are very welcome and thank you once again for the kind words.

  • @ferdakavak861
    @ferdakavak8618 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    I am glad to know that :)

  • @kundankumar5395
    @kundankumar539510 күн бұрын

    wonderfully explained replicaset and deployment.💯

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    Thanks

  • @LaxmiAdavalli-o5k
    @LaxmiAdavalli-o5k8 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    I am glad you found it helpful

  • @syamkumar7751
    @syamkumar775114 күн бұрын

    wonderfully explained, simple it's awesome

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    13 күн бұрын

    Thanks a lot 😊

  • @mohanmurali7975
    @mohanmurali7975Күн бұрын

    You have good teaching skills bro😊

  • @KrupakarReddy-q9z
    @KrupakarReddy-q9z8 күн бұрын

    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.

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    I try my best :) Thank you

  • @kaarthickpk
    @kaarthickpk24 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    24 күн бұрын

    Thanks a lot!

  • @vm_naveen
    @vm_naveen21 күн бұрын

    Thank you !😀

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    19 күн бұрын

    You're welcome 😊

  • @aashisaxena3182
    @aashisaxena31828 күн бұрын

    Amazing

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    Thank you

  • @user-je9fo4wp9q
    @user-je9fo4wp9q26 күн бұрын

    nice content

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    Thankyou!

  • @akifsalah9686
    @akifsalah968629 күн бұрын

    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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    That is a huge compliment for me, THank you so much

  • @sagarbirla2879
    @sagarbirla287921 күн бұрын

    amazing content

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    19 күн бұрын

    Thank you!

  • @saheedabdulrahman2536
    @saheedabdulrahman253619 күн бұрын

    great videos

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    19 күн бұрын

    Glad you like them!

  • @shriramsahu7287
    @shriramsahu728724 күн бұрын

    Thank you for such valuable content

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    24 күн бұрын

    You're welcome!

  • @SinghBalraj102
    @SinghBalraj102Ай бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    29 күн бұрын

    Wow, thanks! Super happy to hear that

  • @nikhildubba9387
    @nikhildubba938724 күн бұрын

    Awesome content! Thank you.

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    23 күн бұрын

    Welcome!

  • @radhikagudidesi5486
    @radhikagudidesi54869 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    5 күн бұрын

    I will change everyone's perception , thank you for the supprt

  • @floehden
    @floehdenАй бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    Ай бұрын

    You're welcome

  • @baivabmukhopadhyay8970
    @baivabmukhopadhyay897027 күн бұрын

    Thanks for such informative content

  • @RaviKumar-fw1di
    @RaviKumar-fw1di24 күн бұрын

    Thanks much !

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    24 күн бұрын

    You're welcome!

  • @ebenezerbarning5093
    @ebenezerbarning509326 күн бұрын

    Thanks sir. always clear

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    Welcome buddy!

  • @kanikv4480
    @kanikv448022 күн бұрын

    Thank you a lot sir ❤.

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    22 күн бұрын

    welcome

  • @balamurugant6479
    @balamurugant6479Ай бұрын

    Thanks for sharing this❤

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    Ай бұрын

    My pleasure 😊

  • @uttamsharma9042
    @uttamsharma9042Ай бұрын

    thanks

  • @SinaTavakkol
    @SinaTavakkolАй бұрын

    Many thanks

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    29 күн бұрын

    You are welcome

  • @AI_suraj_singh_
    @AI_suraj_singh_Ай бұрын

    thanks!!

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    Ай бұрын

    You're welcome!

  • @user-ud6zh3ms2q
    @user-ud6zh3ms2qАй бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    Ай бұрын

    Awesome, thats all I want. Make sure to practise the hands-on task given in the day08 folder of the repo.

  • @user-ud6zh3ms2q

    @user-ud6zh3ms2q

    27 күн бұрын

    @@TechTutorialswithPiyush yeah bruh, had done it already, waiting for the upcoming videos.

  • @Abedunnisa-b8t
    @Abedunnisa-b8t27 күн бұрын

    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..

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    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

  • @Jalal921
    @Jalal9216 күн бұрын

    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?

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    3 күн бұрын

    Critical applications such as Banking, usually make changes in non business hours so that they have minimum impact on users. Relational dbs also have ACID properties which ensures that either the entire transaction is completed or rollbacked completely. Deployment strategies such as blue green, canary, rolling updates also play a significant role here

  • @uttamsharma9042
    @uttamsharma9042Ай бұрын

    CKA practice question, Please share

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    Ай бұрын

    Check out the Github repository, day 08 folder for the practise tasks related to this video

  • @akifsalah9686
    @akifsalah968628 күн бұрын

    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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    28 күн бұрын

    Can you mention the timestamp? are you referring to pod name or container name?

  • @karnajeetsawant5635
    @karnajeetsawant5635Ай бұрын

    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?

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    29 күн бұрын

    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.

  • @karnajeetsawant5635

    @karnajeetsawant5635

    29 күн бұрын

    @@TechTutorialswithPiyush gotcha. Thanks a ton Piyush for taking some time out and answering my doubts. I really appreciate it.

  • @user-pc1pm1vb7p
    @user-pc1pm1vb7p3 күн бұрын

    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 ??

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    3 күн бұрын

    yes , new pod will have a name aaa-456. only the last pod identifier will change. In case of node scale down , the workload will be recreated on a new node and it will have the name aaa-something. You can try it out as well

  • @salmanbintariq007
    @salmanbintariq00725 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    23 күн бұрын

    When you create a deployment, it automatically creates the replicaset. You dont have to create it seperately.

  • @adityapradhan2025
    @adityapradhan20254 күн бұрын

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

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    4 күн бұрын

    replicaset with the name nginx-rs kubectl get rs nginx-rs or kubectl get ns/nginx-rs let me know if you need more details

  • @wamique99
    @wamique9928 күн бұрын

    I wish you made these videos in Hindi

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    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?

  • @wamique99

    @wamique99

    25 күн бұрын

    @@TechTutorialswithPiyush Yes I can understand this but if you made video in hindi/urdu that is more helpful for me in understanding the concept.

  • @TechTutorialswithPiyush

    @TechTutorialswithPiyush

    25 күн бұрын

    @@wamique99 I have been running this channel for 3 years and I cannot change the format now. Sorry about that

  • @wamique99

    @wamique99

    25 күн бұрын

    @@TechTutorialswithPiyush ok no problem

Келесі