Merge pull request #21258 from gmarek/heapster

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-02-22 01:24:58 -08:00
5 changed files with 10 additions and 10 deletions

View File

@@ -628,9 +628,9 @@ prepare_kube_addons() {
file_dir="cluster-monitoring/${ENABLE_CLUSTER_MONITORING}"
setup_addon_manifests "addons" "${file_dir}"
# Replace the salt configurations with variable values.
heapster_memory="300Mi"
heapster_memory="200Mi"
if [ -n "${NUM_NODES:-}" ] && [ "${NUM_NODES}" -gt 1 ]; then
heapster_memory="$((${NUM_NODES} * 12 + 200))Mi"
heapster_memory="$((${NUM_NODES} * 3 + 200))Mi"
fi
controller_yaml="${addon_dst_dir}/${file_dir}"
if [ "${ENABLE_CLUSTER_MONITORING:-}" = "googleinfluxdb" ]; then