From a6fa47eea50474d6d9349d8d895fb11f000d3827 Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Mon, 28 Jan 2019 23:18:24 +0000 Subject: [PATCH] [tiller] Disable monitoring by default, enable in gate Change-Id: Idb7a1f0046e96261a7042d30eedfaea031b27209 --- tiller/values.yaml | 2 +- .../roles/deploy-kubeadm-master/tasks/helm-deploy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tiller/values.yaml b/tiller/values.yaml index c45a546fb..3277f865a 100644 --- a/tiller/values.yaml +++ b/tiller/values.yaml @@ -82,7 +82,7 @@ endpoints: monitoring: prometheus: - enabled: true + enabled: false tiller: scrape: true port: 44135 diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml index 2a88a506b..265b1499d 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml @@ -51,7 +51,7 @@ delegate_to: 127.0.0.1 block: - name: install tiller release - command: helm install /opt/charts/tiller --name tiller --namespace kube-system --wait + command: helm install /opt/charts/tiller --name tiller --namespace kube-system --set monitoring.prometheus.enabled=true --wait environment: HELM_HOST: 'localhost:44134' - name: get the status for tiller release