Adding new alertmanagerconfig with possible working of blachole of info inhibitor
This commit is contained in:
parent
4dd7d37a2a
commit
c7745d20f2
|
|
@ -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.
Loading…
Reference in New Issue