rpi.carlosedp.cluster-monit.../manifests/alertmanager-alertmanager.yaml

33 lines
751 B
YAML
Raw Normal View History

apiVersion: monitoring.coreos.com/v1
kind: Alertmanager
metadata:
labels:
alertmanager: main
name: main
namespace: monitoring
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: alertmanager
operator: In
values:
- main
namespaces:
- monitoring
topologyKey: kubernetes.io/hostname
weight: 100
2019-08-09 00:39:26 +02:00
baseImage: prom/alertmanager
nodeSelector:
2019-08-08 22:09:53 +02:00
kubernetes.io/os: linux
replicas: 1
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
serviceAccountName: alertmanager-main
2019-08-09 00:39:26 +02:00
version: v0.18.0