Skip to content
Snippets Groups Projects
Unverified Commit 23a17693 authored by Varac's avatar Varac
Browse files

Also ignore KubeletDown alert in CI

parent 5dbcf110
No related branches found
No related tags found
1 merge request!474Resolve "Ignore prometheus alerts that are always firing in a single node setup"
......@@ -17,7 +17,7 @@ def ignore_alert(alert):
# Ignore `KubeAPILatencyHigh` fom high load during installation
# phase
if alert["labels"]["alertname"] == "KubeAPIDown":
if re.search(r"(KubeAPIDown|KubeletDown)", alert["labels"]["alertname"]):
return True
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment