fullnameOverride: cluster-autoscaler
autoDiscovery:
  clusterName: prod-seed-ap-south-1-prem
  tags:
    # see https://github.com/tidbcloud/infra/blob/prod/deploy/eks/aws-cluster-auto-scaler/templates/cluster-auto-discover.yaml#L173
    - kubernetes.io/cluster/prod-seed-ap-south-1-prem=owned
rbac:
  serviceAccount:
    annotations:
      eks.amazonaws.com/role-arn: arn:aws:iam::380838443567:role/prod-ap-south-1-prem-cluster-autoscaler
    name: cluster-autoscaler
awsRegion: ap-south-1
resources:
  limits:
    cpu: 400m
    memory: 2000Mi
  requests:
    cpu: 100m
    memory: 300Mi
extraArgs:
  # see https://github.com/tidbcloud/infra/blob/prod/deploy/eks/aws-cluster-auto-scaler/templates/cluster-auto-discover.yaml#L171-L172
  expander: least-waste
  skip-nodes-with-local-storage: false
  # https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#im-running-cluster-with-nodes-in-multiple-zones-for-ha-purposes-is-that-supported-by-cluster-autoscaler
  balance-similar-node-groups: true
# see https://github.com/tidbcloud/infra/blob/prod/deploy/eks/aws-cluster-auto-scaler/templates/cluster-auto-discover.yaml#L176-L184
extraVolumeMounts:
  - name: ssl-certs
    mountPath: /etc/ssl/certs/ca-certificates.crt
    readOnly: true
extraVolumes:
  - name: ssl-certs
    hostPath:
      path: /etc/ssl/certs/ca-bundle.crt
