You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I found that in a three members etcd stacked cluster (k8s), with one master node down the alert etcdInsufficientMembers is triggered with only one member down, in the rule of v3.5: expr: sum(up{job=~".*etcd.*"} == bool 1) without (instance) < ((count(up{job=~".*etcd.*"}) without (instance) + 1) / 2)
This part "sum(up{job=~".etcd."} == bool 1) without (instance)" returns a series of 3 items:
First series (0<1) returns TRUE and alert is triggered.
In previous version v3.4, works properly, alert is not triggered with one master node down: expr: sum(up{job=~".*etcd.*"} == bool 1) by (job) < ((count(up{job=~".*etcd.*"}) by (job) + 1) / 2)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I found that in a three members etcd stacked cluster (k8s), with one master node down the alert etcdInsufficientMembers is triggered with only one member down, in the rule of v3.5:
expr: sum(up{job=~".*etcd.*"} == bool 1) without (instance) < ((count(up{job=~".*etcd.*"}) without (instance) + 1) / 2)This part "sum(up{job=~".etcd."} == bool 1) without (instance)" returns a series of 3 items:
and "(count(up{job=~".etcd."}) without (instance) + 1) / 2" retunrs:
First series (0<1) returns TRUE and alert is triggered.
In previous version v3.4, works properly, alert is not triggered with one master node down:
expr: sum(up{job=~".*etcd.*"} == bool 1) by (job) < ((count(up{job=~".*etcd.*"}) by (job) + 1) / 2)Has anyone else also observed this?
Beta Was this translation helpful? Give feedback.
All reactions