2 min read
Since Kubernetes v1.23 we can now switch to autoscaling/v2, it provides a nicer way of setting the metrics it's going to use to autoscale replicas: External metrics becomes a first-class citizen
22/06/2022
Read more...5 min read
Using an external metrics provider (Kubernetes 1.10+) we can use an HorizontalPodAutoscaler to automatically scale applications using any metric collected by Prometheus. Let's take a look on how to configure it
05/04/2022
Read more...3 min read
Since Kubernetes v1.2 we can autoscale an application based on metrics like CPU provided by the metrics-server. As of Kubernetes v1.6, it is possible to autoscale off of custom metrics and later on, starting Kubernetes v1.10, we can autoscale using any metric from outside the cluster, like the ones collected by datadog
10/01/2022
Read more...3 min read
On Kubernetes, scaling an application is just a matter of defining how many replicas we want:
$ kubectl scale deployment/demo --replicas=5
deployment.apps/demo scaled
Having to manually adjust the number of replicas is not really practical. Here's where the HorizontalPodAutoscaler (HPA) comes into play
01/07/2021
Read more...