Skip to content

Commit

Permalink
metrics: Add 15m duration to MCDDrainError alert
Browse files Browse the repository at this point in the history
This will give cluster time to retry drain several times before sending
an alert to minimize false positives.
  • Loading branch information
kikisdeliveryservice committed Oct 26, 2020
1 parent 738a25d commit fe5f137
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
mcd_drain_err > 0
labels:
severity: warning
for: 15m
annotations:
message: "Drain failed on {{ $labels.node }} , updates may be blocked. For more details: oc logs -f -n openshift-machine-config-operator machine-config-daemon-<hash> -c machine-config-daemon"
- name: mcd-pivot-error
Expand Down

0 comments on commit fe5f137

Please sign in to comment.