2018-12-12 18:18:00 +01:00
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
kind: Alertmanager
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
alertmanager: main
|
|
|
|
name: main
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
2019-02-04 21:07:37 +01:00
|
|
|
affinity:
|
|
|
|
podAntiAffinity:
|
|
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- podAffinityTerm:
|
|
|
|
labelSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: alertmanager
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- main
|
|
|
|
namespaces:
|
|
|
|
- monitoring
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
weight: 100
|
2018-12-12 18:18:00 +01:00
|
|
|
baseImage: carlosedp/alertmanager
|
|
|
|
nodeSelector:
|
2019-08-08 22:09:53 +02:00
|
|
|
kubernetes.io/os: linux
|
2018-12-12 18:18:00 +01:00
|
|
|
replicas: 1
|
|
|
|
securityContext:
|
|
|
|
fsGroup: 2000
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1000
|
|
|
|
serviceAccountName: alertmanager-main
|
2019-02-04 21:03:30 +01:00
|
|
|
version: v0.16.0
|