-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
leader-elect flags are not being accepted with ClusterAutoscaler 1.28.0 version #6421
Comments
I think this was fixed in 1.28.2 - https://github.com/kubernetes/autoscaler/releases/tag/cluster-autoscaler-1.28.2 |
That issue was only present in v1.28.1 as far as we were aware. Can you double check the image tag you're using where you're seeing this behaviour please @vbhargav875 ? |
@gjtempleton I can confirm that the version I used was v1.28.0 |
Are you building the images yourselves or using an image published to registry.k8s.io? If building yourself, can you confirm whether this commit is included: e75903e ? |
I am building the image myself. Yes, this commit is included. |
Yeah, in that case you've picked up the known bug from our v1.28.1 release, we only increment the version.go as part of the release and tag process itself. Building based on the head of a release branch will most likely put you in a state where your packaged code isn't matching a release cut by us. Rebasing off the latest patch release in a given minor release series would be what I'd recommend going forward. Any objection to us closing this as it's been patched in the release branches? |
Understood, thank you. |
Thanks, and thanks for reporting it! |
@gjtempleton: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Which component are you using?:
ClusterAutoscaler - v1.28.0
Which autoscaling component hosted in this repository (cluster-autoscaler, vertical-pod-autoscaler, addon-resizer, helm charts) is the bug in?
cluster-autoscaler
What version of the component are you using?:
v1.28.0
What version of the relevant component are you using? Either the image tag or helm chart version.
cluster-autoscaler-release-1.28.0
Component version:
What k8s version are you using (
kubectl version
)?:v1.28.2
kubectl version
OutputWhat environment is this in?:
If you're using a cloud provider or hardware configuration as your deployment environment let us know here.
Oracle Cloud Infrastructure
What did you expect to happen?:
--leader-elect flag should be accepted.
What behaviour did you expect to see?
Should not observe the below error
unknown flag: --leader-elect
What happened instead?:
Observed below
unknown flag: --leader-elect
What behaviour did see instead?
Observed below error
unknown flag: --leader-elect
How to reproduce it (as minimally and precisely as possible):
Pass leader-elect argument to cluster-autoscaler v1.28.0
The text was updated successfully, but these errors were encountered: