How Autoscaling Works In Kubernetes (And Beyond)? Kubernetes Tutorial

preview_player
Показать описание
What is autoscaling? How to scale applications and Kubernetes clusters? What is the difference between vertical and horizontal scaling? Should we combine Horizontal Pod Autoscaler (HPA), Vertical Pod Autoscaler (VPA), and Cluster Autoscaler (CA) in Kubernetes?

#Kubernetes #Scaling #Cloud

▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬

▬▬▬▬▬▬ 💰 Sponsoships 💰 ▬▬▬▬▬▬

▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬ 🚀 Courses, books, and podcasts 🚀 ▬▬▬▬▬▬

▬▬▬▬▬▬ ⏱ Timecodes ⏱ ▬▬▬▬▬▬
00:00 Autoscaling Introduction
02:54 Scaling Applications Vertically
13:09 Scaling Applications Horizontally
20:43 Scaling Nodes Horizontally
26:41 Scaling Nodes Vertically
29:13 Kubernetes Autoscaling Tips
Рекомендации по теме
Комментарии
Автор

How do you scale your apps and #Kubernetes clusters?

DevOpsToolkit
Автор

Thank you for this awesome video 👍, we all would like to see a video of HPA combined with Prometheus.

akhil-ph
Автор

Great video as usual! This channel is very underrated

viniciosantos
Автор

Hey, I want to leave my feedback. Your videos are very usefull and explanation is very good. Keep going man!

romankrut
Автор

Brilliant...That was a great explanation. Keep up the great work

kemibrianolimba
Автор

Very nice presentation as always. Looking forward to know hpa using custom metrics from prometheus

adiavanth
Автор

Great video on teaching and as a refresher for me on HPA and VPA!
I would like to learn and understand how to utilize metrics from Prometheus as another means for the autoscaling use-case.

hamstar
Автор

Many thanks! I did not heard ever used VerticalPodAutoescaler!! There are many ways to describe scaling for applications, I also like the Scale Cube that it ir more from the point of view how microservices can be scaled.

javisartdesign
Автор

Great video as always!
I think that it would also be useful to introduce KEDA autoscaler along with Prometheus base HPA.
I am using KEDA and it is working great (in my case with RabbitMQ) since I can scale from zero pods which is huge cost saving.

Levyy
Автор

thanks for your videos, yes i would like to know to scale pods with HPA based on metrics in Prometheus. Thank you very much

iposipos
Автор

Thank you for the video!!! Question: how do we horizontally autoscale databases in Kubernetes? What are the challenges and what would be the proper way to overcome them? (Maybe an idea for a future video)

ioannisgko
Автор

I started using jsonnet and it has been a pain to use and a steep learning curve. Few months later we moved to ytt as it was easier to manage but now we are going for Kustomize for all new projects.

Jsonnet is really powerful but when bringing someone new to the team and you show them jsonnet, they can easily feel overwhelmed.

acartag
Автор

Hey Viktor.. this video is very helpful. Please make a video on HPA with Prometheus monitoring solution.

naresing
Автор

When scale in/down happens how does k8s make sure there is no traffic being served by those pods.. will there be a chance where user experience interruption due to scale in of pods

VinothKumar-ejjc
Автор

Good stuff. I believe the units for describing CPU limits should be called millicores instead of milliseconds, however.

allengooch
Автор

Great video, would it be possible to run the VPA in recommend mode while relying upon the HPA to ensure scaling of pods? Can that combination be used to fine tune the autoscaling policies?

jarodmoser
Автор

Hi Victor thanks for a great video :) Just a question from my side - do you know how gitops (ie with ArgoCD) handles auto-scaling as I assume the replica count on the deployment yaml will no longer conform to the declared yaml in an autoscaling setup?

salborough
Автор

May I know why you have deployment.yaml and ingress.yaml in overlay directory though you dont have any changes/patches to them.. you can keep them in base directory itself right.

VinothKumar-ejjc
Автор

Gist is not well documented in the description! Can you fix it please? <3

bules
Автор

Great video - as a complete beginner to Kubernetes it's helped me to understand what I want to with a particular project that I'm working. I currently have a long-term process that runs under Python but runs in a single thread. Up until know I've scaled vertically by moving to more powerful machines but also horizontally by runnning additional copies of the process on different processor cores and then dividing the clients up geographically. If I've understood correctly, with Kubernetes it looks like I could run one copy but get it to spread across multiple cores or even multiple servrers as required whilst to my clients it just looks like one machine ? Do I need to do anything to my process to ready it for deployment on Kubernetes or is it just a case of setting the resource limits and scaling parameters ?

PhilLee