-
Notifications
You must be signed in to change notification settings - Fork 2
/
prometheus-cr.yaml
66 lines (66 loc) · 1.65 KB
/
prometheus-cr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
annotations:
meta.helm.sh/release-name: prom
meta.helm.sh/release-namespace: monitoring
labels:
app: kube-prometheus-stack-prometheus
app.kubernetes.io/instance: prom
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: kube-prometheus-stack
app.kubernetes.io/version: 16.5.0
chart: kube-prometheus-stack-16.5.0
heritage: Helm
release: prom
name: prom-kube-prometheus-stack-prometheus
namespace: monitoring
spec:
alerting:
alertmanagers:
- apiVersion: v2
name: prom-kube-prometheus-stack-alertmanager
namespace: monitoring
pathPrefix: /
port: web
enableAdminAPI: false
evaluationInterval: 10s
externalUrl: http://prom-kube-prometheus-stack-prometheus.monitoring:9090
image: quay.io/prometheus/prometheus:v2.27.1
listenLocal: false
logFormat: logfmt
logLevel: info
paused: false
podMonitorNamespaceSelector: {}
podMonitorSelector:
matchLabels:
release: prom
portName: web
probeNamespaceSelector: {}
probeSelector:
matchLabels:
release: prom
replicas: 1
retention: 10d
routePrefix: /
ruleNamespaceSelector: {}
ruleSelector:
matchLabels:
app: kube-prometheus-stack
release: prom
securityContext:
fsGroup: 2000
runAsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
serviceAccountName: prom-kube-prometheus-stack-prometheus
serviceMonitorNamespaceSelector: {}
serviceMonitorSelector:
matchExpressions:
- key: k8s-app
operator: In
values:
- chaos-exporter
- prometheus-blackbox-exporter
shards: 1
version: v2.27.1