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
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.
Thank you for the kind words! I truly appreciate it
Thank you so much for your explanation on HPA and VPA
Glad you found it helpful
Great explanation and demo
Thank you ðŸ™ðŸ˜Š
Very good explanation on HPA and VPA
Glad it was helpful!
I always thought K8s was difficult to learn, but it is easy after watching your videos.
Don't worry it will be a piece of cake after you complete this series, it will no more haunt you :)
echo "Very nicely and cleanly explained"
echo " Thank You sir"
kubectl exec -it thankyou -- echo "you're most welcome"
Very well put up .. once again rich content by Piyush
Thank you
Great explanation, kudos to you Piyush, keep helping the community.we are here to support you
Thank you, it means a lot â¤ï¸
Clearly articulate the autoscaling in K8s. Thank you
Good
Thank you
Thank you sir
Well Explained
You're welcome
Lets go!!
Thanks piyush for the explaining the HPA concept along with horizontal and vertical scaling concepts.
welcome
very good explained Autoscaling...
Glad to know that
You are doing a good Job. Thank you
Thanks and welcome
Great!
Thank you piyush
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"
Thank you for sharing! Glad you figured it out
Hi Piyush, number of Replicas are not going down even after the CPU Utilization is 0 and it's been 30 minutes
Hey Sagar, this shouldn't happen. can you check logs, describe your deployment and see if the Auto scaler is working fine?
Is KEDA part of CKA ?
No Keda is a seperate project hence, it is not part of CKA