Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
autoscaler: update cloud-config-controller (#1268)
Browse files Browse the repository at this point in the history
* autoscaler: update cloud-config-controller

modifies the behavior of the autoscaler to terminate worker and
controller nodes no longer needed when minSize is set manually.

Note that I had to delete the initial autoscaler pod after
deploying a new cluster with this modification in place.
After that initial autoscaler pod was deleted the second
pod functioned without errors and as expected.
I will update the issue comments with more details.

Fixes #1253

* update CA in cloud-config-controller with dnsPolicy: Default
  • Loading branch information
cmcconnell1 authored and mumoshu committed May 3, 2018
1 parent a1ec225 commit 15458e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/controlplane/config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -4058,12 +4058,14 @@ write_files:
- --stderrthreshold=info
- --cloud-provider=aws
- --skip-nodes-with-local-storage=false
- --skip-nodes-with-system-pods=false
- --expander=least-waste
- --node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled,kubernetes.io/cluster/{{.ClusterName}}
env:
- name: AWS_REGION
value: {{.Region}}
imagePullPolicy: "Always"
dnsPolicy: Default
{{end}}

- path: /srv/kubernetes/manifests/heapster-svc.yaml
Expand Down

0 comments on commit 15458e8

Please sign in to comment.