Skip to content

Commit

Permalink
move kube-state-metrics monitor to kustomize base
Browse files Browse the repository at this point in the history
  • Loading branch information
ureuzy committed Apr 6, 2024
1 parent 5ddac2f commit e83e2c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions manifests/infra/prometheus/base/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@ spec:
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
namespace: monitoring
spec:
endpoints:
- path: /metrics
port: http
namespaceSelector:
matchNames:
- monitoring
selector:
matchLabels:
app.kubernetes.io/name: kube-state-metrics
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: argocd-repo-server
namespace: monitoring
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,4 @@ spec:
namespaceSelector:
matchNames:
- dreamkast-staging
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
namespace: monitoring
spec:
endpoints:
- path: /metrics
port: http
namespaceSelector:
matchNames:
- monitoring
selector:
matchLabels:
app.kubernetes.io/name: kube-state-metrics

0 comments on commit e83e2c7

Please sign in to comment.