You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by re...@apache.org on 2023/03/29 02:23:23 UTC
[incubator-celeborn] 08/42: [CELEBORN-401] Modify prometheus-podmonitor.yaml to collect metrics correctly (#1327)
This is an automated email from the ASF dual-hosted git repository.
rexxiong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git
commit 186cbdccc020fab2468ecf896017f509624593e8
Author: If Wind <86...@users.noreply.github.com>
AuthorDate: Sat Mar 11 20:35:35 2023 +0800
[CELEBORN-401] Modify prometheus-podmonitor.yaml to collect metrics correctly (#1327)
---
charts/celeborn/templates/prometheus-podmonitor.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/charts/celeborn/templates/prometheus-podmonitor.yaml b/charts/celeborn/templates/prometheus-podmonitor.yaml
index d0339bc7f..5f3af9a7c 100644
--- a/charts/celeborn/templates/prometheus-podmonitor.yaml
+++ b/charts/celeborn/templates/prometheus-podmonitor.yaml
@@ -40,7 +40,7 @@ spec:
- {{ .Release.Namespace }}
selector:
matchLabels:
- app.kubernetes.io/name: celeborn-master
+ app.kubernetes.io/role: master
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
@@ -65,6 +65,6 @@ spec:
- {{ .Release.Namespace }}
selector:
matchLabels:
- app.kubernetes.io/name: celeborn-worker
+ app.kubernetes.io/role: worker
{{ end }}
{{- end }}