The Update AKS Node Pool Scale Action is used to update the
maxCount for Node Pools in an Azure
Kubernetes Service (AKS) Managed Cluster.
AKS Cluster node pools are the scalable groups of virtual machines that system and application pods are scheduled on.
Outside of business hours you may not need a highly scaled-up AKS Cluster. Save on the cost of unutilized resources and use the Update AKS Node Pool Scale action to ensure your AKS Cluster is scaled to your team's needs.
The Update AKS Node Pool Scale action can target Node Pools in AKS Clusters that satisfy all of these qualities:
enableAutoScalingproperty set to true
One or many Tag Groups used to filter AKS Clusters by their tags.
minCount parameter to apply to each scalable node pool of the AKS Cluster.
maxCount parameter to apply to each scalable node pool of the AKS Cluster.
Restore to Previous Scale
Everytime the action runs and GorillaStack makes a change to a targeted node pool, it will remember it's previous scale.
This allows GorillaStack users to utilize the Restore to Previous Scale option, retrieving the remembered Min Count and Max Count values and applying these settings for each targeted node pool.
Typically Min Count and Max Count params are used to scale down AKS clusters at the end of a business day and the Restore to Previous Scale option is utilized in a corresponding rule responsible for bringing the AKS cluster back up to scale at the start of a work day.