forked from prometheus-operator/prometheus-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Update Getting-Started examples
Updates getting-started example yaml scripts to match their declared purpose - creates 2 new snippets to achieve this. Signed-off-by: GuyTempleton <guy.templeton@skyscanner.net>
- Loading branch information
1 parent
e52713e
commit 5fef890
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
13 changes: 13 additions & 0 deletions
13
example/user-guides/getting-started/prometheus-admin-api.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: Prometheus | ||
metadata: | ||
name: prometheus | ||
spec: | ||
serviceAccountName: prometheus | ||
serviceMonitorSelector: | ||
matchLabels: | ||
team: frontend | ||
resources: | ||
requests: | ||
memory: 400Mi | ||
enableAdminAPI: true |
13 changes: 13 additions & 0 deletions
13
example/user-guides/getting-started/prometheus-pod-monitor.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: Prometheus | ||
metadata: | ||
name: prometheus | ||
spec: | ||
serviceAccountName: prometheus | ||
podMonitorSelector: | ||
matchLabels: | ||
team: frontend | ||
resources: | ||
requests: | ||
memory: 400Mi | ||
enableAdminAPI: false |
File renamed without changes.