Day 17/40 - Kubernetes Autoscaling Explained| HPA Vs VPA

à¹à¸Šà¸£à¹Œ
à¸à¸±à¸‡
  • เผยà¹à¸žà¸£à¹ˆà¹€à¸¡à¸·à¹ˆà¸­ 8 à¸.ย. 2024
  • Welcome to day 17/40 of the Certified Kubernetes Administrator course. In this video, we will demonstrate Kubernetes Autoscaling and explore VPA, HPA, Cluster Autoscaler, and Node AutoProvisioning in Kubernetes.
    In this video, you'll learn:
    - What is scaling in Kubernetes
    - Horizontal vs Vertical Scaling
    - HPA vs VPA
    - Cluster autoscaling vs. Node auto-provisioning
    - Demo Implementing HPA by simulating load on the cluster
    🚀 Reinforce your knowledge with practical tasks in the Day 17 folder of our GitHub repository: github.com/piy...
    👨ðŸ¼â€ðŸ’» #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/piy...
    ✠ð— ð—²ð—±ð—¶ð˜‚ð—º.ð—°ð—¼ð—º â–¶ / piyush.sachdeva055
    📚 ð—±ð—²ð˜ƒ.ð˜ð—¼ â–¶ dev.to/piyushs...
    ✨ð——ð—¶ð˜€ð—°ð—¼ð—¿ð—± â–¶ / discord
    -----------------------------------------------------------------------------------------------------------------------
    References 📚:
    #devops #techtutorialswithpiyush

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

  • @CloudEnthusiastic
    @CloudEnthusiastic à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +2

    Cmon Piyush Sir.... we are all with you...such a great content...I am not even thinking to take break while watching your video.... you are explaining in such a way that the person will be hypnotized.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      Thank you for the kind words! I truly appreciate it

  • @mike4485
    @mike4485 8 วันที่ผ่านมา +1

    Thank you so much for your explanation on HPA and VPA

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

      Glad you found it helpful

  • @myhappymiles
    @myhappymiles 13 วันที่ผ่านมา +1

    Great explanation and demo

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

      Thank you ðŸ™ðŸ˜Š

  • @roia6011
    @roia6011 27 วันที่ผ่านมา +1

    Very good explanation on HPA and VPA

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

      Glad it was helpful!

  • @radhikaGudidesi
    @radhikaGudidesi à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    I always thought K8s was difficult to learn, but it is easy after watching your videos.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      Don't worry it will be a piece of cake after you complete this series, it will no more haunt you :)

  • @MayurLokhande-l3n
    @MayurLokhande-l3n à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    echo "Very nicely and cleanly explained"
    echo " Thank You sir"

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      kubectl exec -it thankyou -- echo "you're most welcome"

  • @somenghosh4163
    @somenghosh4163 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Very well put up .. once again rich content by Piyush

  • @guntreddirajesh
    @guntreddirajesh à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

    Great explanation, kudos to you Piyush, keep helping the community.we are here to support you

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      Thank you, it means a lot â¤ï¸

  • @eapenmani
    @eapenmani à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Clearly articulate the autoscaling in K8s. Thank you

  • @prithwishlaha2208
    @prithwishlaha2208 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Good

  • @Gopinath_V19
    @Gopinath_V19 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

    Thank you sir
    Well Explained

  • @tendaimakuwerere5693
    @tendaimakuwerere5693 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Lets go!!

  • @sangativamsikrishna1691
    @sangativamsikrishna1691 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Thanks piyush for the explaining the HPA concept along with horizontal and vertical scaling concepts.

  • @HPKnowValley
    @HPKnowValley 26 วันที่ผ่านมา

    very good explained Autoscaling...

  • @oshabzsam9773
    @oshabzsam9773 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    You are doing a good Job. Thank you

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      Thanks and welcome

  • @artbart9080
    @artbart9080 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Great!

  • @vamsikrishna-f8y
    @vamsikrishna-f8y à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Thank you piyush

  • @artbart9080
    @artbart9080 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Hello.As usual great explanation!
    However i had an error running the load generator:
    kubectl run -i --tty load-generator --rm --image=busybox:1.28 --restart=Never -- /bin/sh -c "while sleep 0.01; do wget -q -O- php-apache; done"
    Error:
    pod "load-generator" deleted
    pod default/load-generator terminated (StartError)
    failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/sh": stat C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown
    I'm on Windows machine.
    In my case this worked :
    kubectl run -i --tty load-generator --rm --image=busybox:1.28 --restart=Never -- sh -c "while sleep 0.01; do wget -q -O- php-apache; done"

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      Thank you for sharing! Glad you figured it out

  • @sagarbirla2879
    @sagarbirla2879 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

    Hi Piyush, number of Replicas are not going down even after the CPU Utilization is 0 and it's been 30 minutes

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      Hey Sagar, this shouldn't happen. can you check logs, describe your deployment and see if the Auto scaler is working fine?

  • @kidg9536
    @kidg9536 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Is KEDA part of CKA ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      No Keda is a seperate project hence, it is not part of CKA