Skip to content

Commit 38f6cc5

Browse files
committed
chore: add metrics service to prometheus component
Include metrics_service.yaml in the prometheus kustomize Component so that deploying with the prometheus component provides both the ServiceMonitor and the matching Service for metrics scraping.
1 parent d24f1b3 commit 38f6cc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/prometheus/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1alpha1
22
kind: Component
33
resources:
44
- monitor.yaml
5+
- ../default/metrics_service.yaml

0 commit comments

Comments
 (0)