From 45ee4f0778c1ea4ab29bae3bf7ffc8731608bc94 Mon Sep 17 00:00:00 2001 From: Bruno Sakoto Date: Fri, 19 Nov 2021 19:07:00 -0500 Subject: [CPS] Disable prometheus by default This change is made to be able to deploy CPS with default values in environments where Prometheus ServiceMonitor is not available. Unused metrics.serviceMonitor.enabled property is also removed. Issue-ID: CPS-778 Signed-off-by: Bruno Sakoto Change-Id: Ica4f3b6d9d10eceb37251090bfc501155f031b81 --- kubernetes/cps/components/cps-core/values.yaml | 3 +-- kubernetes/cps/components/cps-temporal/values.yaml | 3 +-- kubernetes/cps/components/ncmp-dmi-plugin/values.yaml | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/cps/components/cps-core/values.yaml b/kubernetes/cps/components/cps-core/values.yaml index eb7aa54130..a482152582 100644 --- a/kubernetes/cps/components/cps-core/values.yaml +++ b/kubernetes/cps/components/cps-core/values.yaml @@ -78,11 +78,10 @@ service: targetPort: *mgt_port prometheus: - enabled: true + enabled: false metrics: serviceMonitor: - enabled: true port: http-management ## specify target port if name is not given to the port in the service definition ## diff --git a/kubernetes/cps/components/cps-temporal/values.yaml b/kubernetes/cps/components/cps-temporal/values.yaml index f8311697f5..8b3f16b64c 100644 --- a/kubernetes/cps/components/cps-temporal/values.yaml +++ b/kubernetes/cps/components/cps-temporal/values.yaml @@ -45,7 +45,7 @@ containerPort: &svc_port 8080 managementPort: &mgt_port 8081 prometheus: - enabled: true + enabled: false service: type: ClusterIP @@ -60,7 +60,6 @@ service: metrics: serviceMonitor: - enabled: true port: http-management ## specify target port if name is not given to the port in the service definition ## diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml index a4a56dee80..753b8baaff 100644 --- a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml +++ b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml @@ -52,7 +52,7 @@ containerPort: &svc_port 8080 managementPort: &mgt_port 8081 prometheus: - enabled: true + enabled: false service: type: ClusterIP @@ -66,7 +66,6 @@ service: metrics: serviceMonitor: - enabled: true port: http-management ## specify target port if name is not given to the port in the service definition ## -- cgit 1.2.3-korg