standard config opt names: cluster monitoring

This commit is contained in:
Tim Hockin
2014-11-13 20:18:03 -08:00
parent e359ad5902
commit fad806d1d1
4 changed files with 10 additions and 7 deletions

View File

@@ -566,7 +566,7 @@ function restart-kube-proxy {
# Setup monitoring using heapster and InfluxDB
function setup-monitoring {
if [[ "${MONITORING}" == "true" ]]; then
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
echo "Setting up cluster monitoring using Heapster."
if ! gcloud compute firewall-rules describe monitoring-heapster &>/dev/null; then
@@ -604,7 +604,7 @@ function setup-monitoring {
}
function teardown-monitoring {
if [[ "${MONITORING}" == "true" ]]; then
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
detect-project
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"