filmov
tv
Autoscaling in Kubernetes
Показать описание
#kubernetes #autoscaling #devops #fullstackdevelopment
In the deployments chapter of this series, we've seen how to scale our deployments manually. That way, whenever there is unusual traffic, we can scale our deployment accordingly. But, monitoring our traffic continuously and manually scaling our application to handle such traffic spikes is tedious.
What if there is a way to monitor our pods and scale them automatically whenever there is an increase in CPU usage, memory, or some other metric like QPS? This is called autoscaling(scaling automatically based on some metrics). Kubernetes can do that job for us. Not only pods, if we're running on cloud infrastructure, K8s can also spin up additional nodes if the existing nodes can't accept any more pods. In this chapter, we'll learn how different auto-scalers (Horizontal Pod Autoscaler, Vertical Pod Autoscaler, Cluster Autoscaler) work with complete hands-on.
References:
Timestamps:
0:00 - Intro
01:06 - Types of Autoscalers
02:56 - Horizontal Pod Autoscaler
13:18 - Vertical Pod Autoscaler
16:46 - Cluster Autoscaler
My other courses:
Thank you very much!
In the deployments chapter of this series, we've seen how to scale our deployments manually. That way, whenever there is unusual traffic, we can scale our deployment accordingly. But, monitoring our traffic continuously and manually scaling our application to handle such traffic spikes is tedious.
What if there is a way to monitor our pods and scale them automatically whenever there is an increase in CPU usage, memory, or some other metric like QPS? This is called autoscaling(scaling automatically based on some metrics). Kubernetes can do that job for us. Not only pods, if we're running on cloud infrastructure, K8s can also spin up additional nodes if the existing nodes can't accept any more pods. In this chapter, we'll learn how different auto-scalers (Horizontal Pod Autoscaler, Vertical Pod Autoscaler, Cluster Autoscaler) work with complete hands-on.
References:
Timestamps:
0:00 - Intro
01:06 - Types of Autoscalers
02:56 - Horizontal Pod Autoscaler
13:18 - Vertical Pod Autoscaler
16:46 - Cluster Autoscaler
My other courses:
Thank you very much!
Комментарии