Merge pull request #3038 from vishh/fix_monitoring

Fix bug in gce monitoring setup.
This commit is contained in:
Daniel Smith 2014-12-18 13:07:18 -08:00
commit cd2432891d

View File

@ -726,7 +726,7 @@ function restart-kube-proxy {
function setup-monitoring {
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
echo "Setting up cluster monitoring using Heapster."
detect-project
if ! gcloud compute firewall-rules describe monitoring-heapster &>/dev/null; then
if ! gcloud compute firewall-rules create monitoring-heapster \
--project "${PROJECT}" \