This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Several charts default values prevent an operator from draining a worker #7127
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Version of Helm and Kubernetes:
Which chart:
stable/nginx-ingress and stable/memcached (these are the ones I noticed!)
What happened:
The default configuration is to create a single replica, in addition to a
PodDisruptionBudget
with aminAvailable
of 1. This results in Kubernetes being unable to drain the node, as doing so would violate thePodDisruptionBudget
.What you expected to happen:
The helm charts should not install a
PodDisruptionBudget
when the number of replicas for the pod is 1.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
There is a kubernetes issue that is semi-related - essentially saying "works as intended" - kubernetes/kubernetes#48307 - I think I agree with the outcome, the helm charts have defined an "unreasonable" availability requirement, and kubernetes shouldn't ignore the availability requirements it given - even if unreasonable.
The text was updated successfully, but these errors were encountered: