Commit 767e615d by Aiwantaozi Committed by Craig Jellick

Should consist label in service monitor and logging charts

Problem: enable logging and moinitoring but can't see fluentd metric Solution: consist label and endpoint name Issue: https://github.com/rancher/rancher/issues/18327
parent ca7b0eb7
...@@ -15,11 +15,11 @@ spec: ...@@ -15,11 +15,11 @@ spec:
jobLabel: fluentd jobLabel: fluentd
selector: selector:
matchLabels: matchLabels:
k8s-app: fluentd app: fluentd
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- cattle-logging - cattle-logging
endpoints: endpoints:
- port: metrics - port: metric
interval: 15s interval: 15s
honorLabels: true honorLabels: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment