-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.13.z
-
Important
-
No
-
3
-
Sprint 234, Sprint 235, Sprint 236, Sprint 237, Sprint 238, Sprint 239
-
6
-
Rejected
-
False
-
-
-
Done
Description of problem:
maxUnavailable defaults to 50% for anything under 4: https://github.com/openshift/cluster-ingress-operator/blob/master/pkg/operator/controller/ingress/poddisruptionbudget.go#L71 Based on PDB rounding logic, it always rounds to the next while integer, so 1.5 becomes 2. spec: maxUnavailable: 50% selector: matchLabels: ingresscontroller.operator.openshift.io/deployment-ingresscontroller: default currentHealthy: 3 desiredHealthy: 1 disruptionsAllowed: 2 Where as with 4 router pods, we only allow 1 of 4 to be disrupted at a time.
Version-Release number of selected component (if applicable):
4.x
How reproducible:
Always
Steps to Reproduce:
1. Set 3 replicas 2. Look at the disruptionsAllowed on the PDB
Actual results:
You can take down 2 of 3 routers at once, leaving no HA.
Expected results:
With 3+ routers, we should always ensure 2 are up with the PDB.
Additional info:
Reduce the maxUnavailable to 25% for >= 3 pods instead of 4
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update