Cluster Autoscaler is a component that automatically adjusts the size of a Kubernetes Cluster so that all pods have a place to run and there are no unneeded nodes.
The cluster autoscaler for Flow scales worker nodes within any specified Flow Kubernetes cluster.
Installation
As there is no concept of a node group within Flow Cloud's Kubernetes offering, the configuration required is quite simple. You need to set:
Your Flow Application Token
The Kubernetes Cluster's ID (not the name)
The minimum and maximum number of worker nodes you want (the master is excluded)
Please adjust the following bold values in the yaml file below:
Minimum & Maximum of worker nodes (for example minimum 3 and maximal nine): nodes=3:9:workers
Generate an application token in and convert it to a base64 string and replace the **api-token** value.
Retrieve the cluster ID from your Kubernetes Cluster, convert it to a base64 string and replace the **cluster-id** value.