-
Notifications
You must be signed in to change notification settings - Fork 578
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
AWSMachinePool minSize should be allowed to go to 0 #3242
Comments
/triage accepted |
@richardcase: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed 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. |
When doing this we should also update the e2e tests to test scale to 0. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/kind bug
What steps did you take and what happened:
I tried to set the AWSMachinePool minSize to 0 but this failed to apply
The current validation rule of
AWSMachinePoolSpec.minSize
specifies a validation rule ofMinimum=1
.An ASG does not have such a minimum and therefore allows setting minSize to zero.
It might (depending on the implementation) also be important for the autoscaler scale to zero proposal, to have this validation corrected.
What did you expect to happen:
Setting
minSize: 0
works and updates the autoscaling group accordingly.Anything else you would like to add:
Happy to provide a PR for this, if that sounds like something you'd accept :) Not sure what kind of tests would be needed to do so - would need some guidance there.
Environment:
v1.3.0
kubectl version
): 1.23The text was updated successfully, but these errors were encountered: