Open ParichayDidwania opened 3 months ago
/area helm-charts /area cluster-autoscaler
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
Which component are you using?:
cluster-autoscaler helm chart
What version of the component are you using?:
9.37.0
Component version:
What k8s version are you using (
kubectl version
)?:1.29
kubectl version
OutputWhat environment is this in?:
AWS EKS
What did you expect to happen?:
When you set
minAvailable
, the helm chart fails to apply as themaxUnavailable
is already defaulted in the values.yaml. The only work around is stated in ticket: #3779 where you need to setmaxUnavailable = null
to make it work.What happened instead?:
Helm chart shouldn't fail to apply when you set only
minAvailable
field. The chart should prioritize to useminAvailable
when provided and skip onmaxUnavailable
to be inserted into the pdb template.How to reproduce it (as minimally and precisely as possible):
Install cluster-autoscaler helm chart and override the podDisruptionBudget.minAvailable=1
Anything else we need to know?:
This is something i faced while applying cluster autoscaler and I would like to raise a PR to fix this