Adding new alertmanagerconfig with possible working of blachole of info inhibitor
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ helm repo add prometheus-community https://prometheus-community.github.io/helm-c
|
|||||||
helm repo update
|
helm repo update
|
||||||
helm upgrade --install --create-namespace prometheus-operator prometheus-community/kube-prometheus-stack -n monitoring -f monitoring/prometheus-operator.secret.yml
|
helm upgrade --install --create-namespace prometheus-operator prometheus-community/kube-prometheus-stack -n monitoring -f monitoring/prometheus-operator.secret.yml
|
||||||
# alert configuration
|
# 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
|
for i in "${NAMESPACES_TO_ALERT[@]}"; do
|
||||||
kubectl apply -f monitoring/alertmanagerconfig.secret.yaml -n $i
|
kubectl apply -f monitoring/alertmanagerconfig.secret.yaml -n $i
|
||||||
done
|
done
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user