Add monitoring scope to default GCE config.

This will allow Heapster to run GCM-based monitoring on the nodes.
This commit is contained in:
Victor Marmol 2015-03-17 17:02:10 -07:00
parent cbe4a1a679
commit 8e2dc04da8

View File

@ -76,7 +76,7 @@ done
CLUSTER_IP_RANGE="10.244.0.0/16"
MINION_IP_RANGES=($(eval echo "${subnets[@]}"))
MINION_SCOPES=("storage-ro" "compute-rw")
MINION_SCOPES=("storage-ro" "compute-rw" "https://www.googleapis.com/auth/monitoring")
# Increase the sleep interval value if concerned about API rate limits. 3, in seconds, is the default.
POLL_SLEEP_INTERVAL=3
PORTAL_NET="10.0.0.0/16"