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
Describe the bug
When deploying the cloud native fullstack operator v1.3.2 via helm the webhook resource is created with a PodDistributionBudget that has minAvailable: 1 even when you set highAvailability: false in the values.yaml. The webhook then runs as a single replica with PDB that does not allow eviction. This prevents eviction and blocks nodes from being drained for shutdown, resulting in blocking k8s upgrades.
To Reproduce
Deploy the DT K8s Operator Cloud Native via Helm with the webhook values.yaml highAvailability: false
Attempt to drain node with webhook deployment running.
Expected behavior
The webhook deployment with highAvailability: false does not have a PDB that prevents eviction of the single pod
Describe the bug
When deploying the cloud native fullstack operator v1.3.2 via helm the webhook resource is created with a PodDistributionBudget that has
minAvailable: 1
even when you set highAvailability: false in the values.yaml. The webhook then runs as a single replica with PDB that does not allow eviction. This prevents eviction and blocks nodes from being drained for shutdown, resulting in blocking k8s upgrades.To Reproduce
highAvailability: false
Expected behavior
The webhook deployment with
highAvailability: false
does not have a PDB that prevents eviction of the single podScreenshots
Additional context
This appears to be a regression from this commit:
83801f6#diff-67f1e210b8d311b90567c94206d9d6b9d8bfa16967742f8f19fc0ffbeeb3bd17
As a workaround you can deploy the webhook in HA mode to allow multiple replicas and the PDB will not prevent eviction of a 1 pod.
The text was updated successfully, but these errors were encountered: