-
Notifications
You must be signed in to change notification settings - Fork 472
/
alertmanager-dep.yml
69 lines (69 loc) · 1.72 KB
/
alertmanager-dep.yml
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
67
68
69
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: openfaas
component: alertmanager
name: alertmanager
namespace: "openfaas"
spec:
replicas: 1
selector:
matchLabels:
app: alertmanager
template:
metadata:
labels:
app: alertmanager
annotations:
sidecar.istio.io/inject: "true"
checksum/alertmanager-config: "4694faf15fce14f6282123c8ff924eb8862bc6045f6d706b5830704e4363b589"
spec:
containers:
- name: alertmanager
image: prom/alertmanager:v0.18.0
imagePullPolicy: Always
command:
- "alertmanager"
- "--config.file=/alertmanager.yml"
- "--storage.path=/alertmanager"
- "--cluster.listen-address="
livenessProbe:
httpGet:
path: /-/ready
port: 9093
timeoutSeconds: 30
readinessProbe:
httpGet:
path: /-/ready
port: 9093
timeoutSeconds: 30
ports:
- containerPort: 9093
protocol: TCP
resources:
limits:
memory: 50Mi
requests:
memory: 25Mi
volumeMounts:
- mountPath: /alertmanager.yml
name: alertmanager-config
subPath: alertmanager.yml
- name: auth
readOnly: true
mountPath: "/var/secrets"
volumes:
- name: alertmanager-config
configMap:
name: alertmanager-config
items:
- key: alertmanager.yml
path: alertmanager.yml
mode: 0644
- name: auth
secret:
secretName: basic-auth
nodeSelector:
beta.kubernetes.io/arch: amd64