From d347d283bf22f7a2f47d3ae31a377f1cf42cc80a Mon Sep 17 00:00:00 2001 From: Van Tu Date: Wed, 8 Aug 2018 15:27:50 -0400 Subject: [PATCH] Add comments clarifying the use of the minClusterSize flag. --- .../addons/cluster-monitoring/google/heapster-controller.yaml | 2 ++ .../googleinfluxdb/heapster-controller-combined.yaml | 2 ++ .../addons/cluster-monitoring/influxdb/heapster-controller.yaml | 2 ++ .../cluster-monitoring/stackdriver/heapster-controller.yaml | 2 ++ .../cluster-monitoring/standalone/heapster-controller.yaml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml index cea80f0dfad..f936d5d2980 100644 --- a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml @@ -112,6 +112,8 @@ spec: - --container=heapster - --poll-period=300000 - --estimator=exponential + # Specifies the smallest cluster (defined in number of nodes) + # resources will be scaled to. - --minClusterSize={{ heapster_min_cluster_size }} - image: k8s.gcr.io/addon-resizer:1.8.2 name: eventer-nanny diff --git a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml index 62c38bd2098..9d6bde7f0b1 100644 --- a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml +++ b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml @@ -113,6 +113,8 @@ spec: - --container=heapster - --poll-period=300000 - --estimator=exponential + # Specifies the smallest cluster (defined in number of nodes) + # resources will be scaled to. - --minClusterSize={{ heapster_min_cluster_size }} - image: k8s.gcr.io/addon-resizer:1.8.2 name: eventer-nanny diff --git a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml index 06fc3a4f6c5..d86739a7a9b 100644 --- a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml @@ -112,6 +112,8 @@ spec: - --container=heapster - --poll-period=300000 - --estimator=exponential + # Specifies the smallest cluster (defined in number of nodes) + # resources will be scaled to. - --minClusterSize={{ heapster_min_cluster_size }} - image: k8s.gcr.io/addon-resizer:1.8.2 name: eventer-nanny diff --git a/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml b/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml index 6198f3c9902..a69ab9026b7 100644 --- a/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/stackdriver/heapster-controller.yaml @@ -113,6 +113,8 @@ spec: - --container=heapster - --poll-period=300000 - --estimator=exponential + # Specifies the smallest cluster (defined in number of nodes) + # resources will be scaled to. - --minClusterSize={{ heapster_min_cluster_size }} volumes: - name: heapster-config-volume diff --git a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml index 1883099781f..18bfe64c373 100644 --- a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml @@ -92,6 +92,8 @@ spec: - --container=heapster - --poll-period=300000 - --estimator=exponential + # Specifies the smallest cluster (defined in number of nodes) + # resources will be scaled to. - --minClusterSize={{ heapster_min_cluster_size }} volumes: - name: heapster-config-volume