Adding new alertmanagerconfig with possible working of blachole of info inhibitor

This commit is contained in:
Moritz Graf 2023-01-16 15:19:38 +01:00
parent 4dd7d37a2a
commit c7745d20f2
2 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ helm repo add prometheus-community https://prometheus-community.github.io/helm-c
helm repo update
helm upgrade --install --create-namespace prometheus-operator prometheus-community/kube-prometheus-stack -n monitoring -f monitoring/prometheus-operator.secret.yml
# alert configuration
NAMESPACES_TO_ALERT=( kube-system monitoring cert-manager datalab ingress-nginx mailu minio velero web openebs )
NAMESPACES_TO_ALERT=( kube-system monitoring cert-manager datalab ingress-nginx mailu minio velero web openebs )
for i in "${NAMESPACES_TO_ALERT[@]}"; do
kubectl apply -f monitoring/alertmanagerconfig.secret.yaml -n $i
done