mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-04 19:07:43 +01:00
33 lines
751 B
YAML
33 lines
751 B
YAML
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
|
|
baseImage: prom/alertmanager
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
replicas: 1
|
|
securityContext:
|
|
fsGroup: 2000
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
serviceAccountName: alertmanager-main
|
|
version: v0.18.0
|