After a while using Kubernetes, I tried to improve the cluster to the edge and try to use all the power from the cloud provider. The following guide is a continuation or improvment of the post Kubernetes cluster with Autoscaling on AWS.
- AWS (The idea is the same for any cloud provider)
- Autoscaling groups for the workes for each availability zone (
- Cluster-Autoscaler (CA)
The cluster will be scale when:
- There are pods that failed to run in the cluster due to insufficient resources.
- There are nodes in the cluster that have been underutilized for an extended period of time and their pods can be placed on other existing nodes.
We have instances groups (nodes groups) per availability zone to avoid some limitations about persistent volumes, I will explain in another post about it.