-
Notifications
You must be signed in to change notification settings - Fork 428
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
AzureMachinePool indefinitely scaling up and down the pool size #5240
Comments
/unassign @nawazkh |
@MadJlzz I'm trying to reproduce this error now. Did you initially set the number of replicas to 2 or 1? Can you also post your cluster spec? |
I'm seeing a different error when creating an mp with 2 replicas, scaling down to 1, then scaling back up to 2:
Is this similar to what you're seeing? I can't seem to reproduce the exact bug you're having. |
@willie-yao |
I see the same error in serial console and cloud-init-output:
|
We're trying to reproduce it as well on our side - so far we could not reproduce it unfortunately. If I remember correctly we started with 2, scaled down to 1 and back up to 2 like you did. |
Thanks for the update. @MadJlzz are you also seeing the issue with CAPZ bootstrapping extension as shown above? Let me know if you guys run into the original bug as well. |
Regarding the CAPZ bootstrapping extension above, logs are looking good - no errors to mention. The tests we performed were ran against both production version I mentionned above and the latest capi/capz version ( We even tested with the versions mentionned initially in that issue |
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
We're having a small problem with capz
v1.17.1
and capiv1.8.4
using AzureMachinePoolEven though we've set the number of replicas for the pool to be 1,
capz
is infinitely updating the underlying vmss changing the size to 2 and reverting back to 1 a bit afterwards.What did you expect to happen:
To keep the size of the vmss to 1, as stated in the spec.
Anything else you would like to add:
In production, we're using those version and didn't get this particular error:
Here's an image showcasing the issue:
Environment:
kubectl version
): 1.30.x/etc/os-release
): Ubuntu 22.04The text was updated successfully, but these errors were encountered: