Last active
April 5, 2018 10:45
-
-
Save alexanderdavidsen/38e33526e6b16aa1e8daa7afd96614cf to your computer and use it in GitHub Desktop.
Guard serviceMonitor for prometheus-operator
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
# Creates a serviceMonitor for Guard. Can be used with prometheus-operator: | |
prometheus: | |
serviceMonitors: | |
- name: guard | |
labels: | |
prometheus: kube-prometheus | |
selector: | |
matchLabels: | |
app: guard | |
endpoints: | |
- port: api | |
interval: 30s | |
path: /metrics | |
scheme: https | |
tlsConfig: | |
insecureSkipVerify: true | |
namespaceSelector: | |
any: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment