mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
standard config opt names: cluster monitoring
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user