Skip to content

Commit

Permalink
Add monitored label to spark namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Feb 3, 2025
1 parent 1cec879 commit ab60c00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions chart/templates/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
namespace: {{ .Release.Namespace }}
labels:
monitored: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: fink-broker
namespace: spark
labels:
app.kubernetes.io/instance: fink-broker
monitored: "true"
Expand All @@ -11,4 +10,4 @@ spec:
matchLabels:
sparkoperator.k8s.io/app-name: fink-broker-stream2raw
podMetricsEndpoints:
- port: jmx-exporter
- port: jmx-exporter

0 comments on commit ab60c00

Please sign in to comment.