diff --git a/CHANGELOG.md b/CHANGELOG.md index d15b47b76..411148b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fix `IngressControllerDeploymentNotSatisfied` opsrecipe. + ## [3.7.1] - 2024-04-08 ### Fixed diff --git a/helm/prometheus-rules/templates/alerting-rules/ingress-controller.rules.yml b/helm/prometheus-rules/templates/alerting-rules/ingress-controller.rules.yml index 65ca801a4..37bb52b82 100644 --- a/helm/prometheus-rules/templates/alerting-rules/ingress-controller.rules.yml +++ b/helm/prometheus-rules/templates/alerting-rules/ingress-controller.rules.yml @@ -13,7 +13,7 @@ spec: - alert: IngressControllerDeploymentNotSatisfied annotations: description: '{{`Ingress Controller Deployment {{ $labels.namespace}}/{{ $labels.deployment }} is not satisfied.`}}' - opsrecipe: ingress-controller-deployment-not-satisfied/ + opsrecipe: ingress-controller-down/ expr: managed_app_deployment_status_replicas_available{managed_app=~".*(ingress-nginx|nginx-ingress-controller).*"} / (managed_app_deployment_status_replicas_available{managed_app=~".*(ingress-nginx|nginx-ingress-controller).*"} + managed_app_deployment_status_replicas_unavailable{managed_app=~".*(ingress-nginx|nginx-ingress-controller).*"}) * 100 <= 50 for: 10m labels: