Update configure-helper.sh to support heapster resource optimizations

In addition to the shell script changes the heapster yaml has been
updated to use addon resizer 1.8.3 for the heapster-nanny. Addon resizer 1.8.3
is being used to take advantage of the new minClusterSize flag. Note this is a
no-op change. The values specified for heapster-nanny reflect the current
configuration used with version 1.8.2.
This commit is contained in:
Van Tu
2018-07-11 22:34:48 -04:00
parent 4797c8df8f
commit 2bce0cb164
6 changed files with 20 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
# END_PROMETHEUS_TO_SD
- image: k8s.gcr.io/addon-resizer:1.8.2
- image: k8s.gcr.io/addon-resizer:1.8.3
name: heapster-nanny
resources:
limits:
@@ -113,6 +113,7 @@ spec:
- --container=heapster
- --poll-period=300000
- --estimator=exponential
- --minClusterSize={{ heapster_min_cluster_size }}
volumes:
- name: heapster-config-volume
configMap: