mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix bug in gce monitoring setup.
This commit is contained in:
parent
b489757b5a
commit
aa7a311c34
@ -726,7 +726,7 @@ function restart-kube-proxy {
|
|||||||
function setup-monitoring {
|
function setup-monitoring {
|
||||||
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
|
if [[ "${ENABLE_CLUSTER_MONITORING}" == "true" ]]; then
|
||||||
echo "Setting up cluster monitoring using Heapster."
|
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 describe monitoring-heapster &>/dev/null; then
|
||||||
if ! gcloud compute firewall-rules create monitoring-heapster \
|
if ! gcloud compute firewall-rules create monitoring-heapster \
|
||||||
--project "${PROJECT}" \
|
--project "${PROJECT}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user