Kubernetes Autoscaling Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Horizontal Pod Autoscaling

Horizontal pod autoscaling is the automatic increasing or decreasing the number of pod replicas managed by a scalable higher-level controller. The scaling is performed by a horizontal controller.

Horizontal Pod Autoscaler

Vertical Pod Autoscaling

https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler

Vertical scaling of a pod mens increasing its containers' resource requests and limits. This can be currently done only at creation time, not while the pod is running.

TODO: https://medium.com/infrastructure-adventures/vertical-pod-autoscaler-deep-dive-limitations-and-real-world-examples-9195f8422724

Horizontal Node Autoscaling (Cluster Autoscaler)

https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler