Created
October 6, 2020 08:52
-
-
Save flouthoc/eb3b8c963af0633102ce42c82062816a to your computer and use it in GitHub Desktop.
SamplePodMonitor.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: monitoring.coreos.com/v1 | |
kind: PodMonitor | |
metadata: | |
name: SamplePodMonitor | |
labels: | |
team: infra | |
release: prom-op | |
spec: | |
selector: | |
matchLabels: | |
app: <your-selector-label> | |
podMetricsEndpoints: | |
- targetPort: <exposed-port> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment