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
  • วิทยาศาสตร์à¹à¸¥à¸°à¹€à¸—คโนโลยี

ความคิดเห็น • 38

  • @baivabmukhopadhyay8970
    @baivabmukhopadhyay8970 3 วันที่ผ่านมา +1

    Thanks for such informative content

  • @shriramsahu7287
    @shriramsahu7287 6 ชั่วโมงที่ผ่านมา

    Thank you for such valuable content

  • @nikhildubba9387
    @nikhildubba9387 12 ชั่วโมงที่ผ่านมา

    Awesome content! Thank you.

  • @akifsalah9686
    @akifsalah9686 4 วันที่ผ่านมา +2

    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  à¸§à¸±à¸™à¸—ี่ผ่านมา +1

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

  • @ebenezerbarning5093
    @ebenezerbarning5093 2 วันที่ผ่านมา +2

    Thanks sir. always clear

  • @user-je9fo4wp9q
    @user-je9fo4wp9q 2 วันที่ผ่านมา +2

    nice content

  • @AI_suraj_singh_
    @AI_suraj_singh_ 6 วันที่ผ่านมา +1

    thanks!!

  • @uttamsharma9042
    @uttamsharma9042 6 วันที่ผ่านมา

    thanks

  • @SinghBalraj102
    @SinghBalraj102 5 วันที่ผ่านมา +1

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

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  5 วันที่ผ่านมา

      Wow, thanks! Super happy to hear that

  • @SinaTavakkol
    @SinaTavakkol 6 วันที่ผ่านมา

    Many thanks

  • @floehden
    @floehden 6 วันที่ผ่านมา

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

  • @balamurugant6479
    @balamurugant6479 6 วันที่ผ่านมา

    Thanks for sharing thisâ¤

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  6 วันที่ผ่านมา

      My pleasure 😊

  • @user-ud6zh3ms2q
    @user-ud6zh3ms2q 6 วันที่ผ่านมา

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

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  6 วันที่ผ่านมา

      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 3 วันที่ผ่านมา +1

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

  • @Abedunnisa-b8t
    @Abedunnisa-b8t 3 วันที่ผ่านมา +1

    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  à¸§à¸±à¸™à¸—ี่ผ่านมา +1

      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

  • @salmanbintariq007
    @salmanbintariq007 14 ชั่วโมงที่ผ่านมา

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

  • @akifsalah9686
    @akifsalah9686 4 วันที่ผ่านมา +1

    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  4 วันที่ผ่านมา

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

  • @uttamsharma9042
    @uttamsharma9042 6 วันที่ผ่านมา

    CKA practice question, Please share

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  6 วันที่ผ่านมา

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

  • @karnajeetsawant5635
    @karnajeetsawant5635 5 วันที่ผ่านมา

    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  5 วันที่ผ่านมา

      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 5 วันที่ผ่านมา

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

  • @wamique99
    @wamique99 3 วันที่ผ่านมา +1

    I wish you made these videos in Hindi

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸§à¸±à¸™à¸—ี่ผ่านมา

      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 à¸§à¸±à¸™à¸—ี่ผ่านมา +1

      @@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  à¸§à¸±à¸™à¸—ี่ผ่านมา

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

    • @wamique99
      @wamique99 à¸§à¸±à¸™à¸—ี่ผ่านมา +1

      @@TechTutorialswithPiyush ok no problem