From 60b494049b299cd985a1dec02ed285bc1e69b432 Mon Sep 17 00:00:00 2001 From: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com> Date: Fri, 26 Jun 2020 17:39:49 +0200 Subject: [PATCH] docs: autoscaler X.Y version must match (#928) --- docs/autoscaling.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/autoscaling.md b/docs/autoscaling.md index d13d409..28d737f 100644 --- a/docs/autoscaling.md +++ b/docs/autoscaling.md @@ -78,6 +78,10 @@ awsRegion: YOUR_AWS_REGION autoDiscovery: clusterName: YOUR_CLUSTER_NAME enabled: true + +image: + repository: us.gcr.io/k8s-artifacts-prod/autoscaling/cluster-autoscaler + tag: v1.16.5 ``` To install the chart, simply run helm with the `--values` option: @@ -89,3 +93,5 @@ helm install stable/cluster-autoscaler --values=path/to/your/values-file.yaml ## Notes There is a variable `asg_desired_capacity` given in the `local.tf` file, currently it can be used to change the desired worker(s) capacity in the autoscaling group but currently it is being ignored in terraform to reduce the [complexities](https://github.com/terraform-aws-modules/terraform-aws-eks/issues/510#issuecomment-531700442) and the feature of scaling up and down the cluster nodes is being handled by the cluster autoscaler. + +The cluster autoscaler major and minor versions must match your cluster. For example if you are running a 1.16 EKS cluster set `image.tag=v1.16.5`. Search through their [releases page](https://github.com/kubernetes/autoscaler/releases) for valid version numbers.