-
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
Support azure vmss flex #6633
Support azure vmss flex #6633
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Daniel-Redeploy The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
i would like some time to study this as we prefer not to encode provider specific information in the clusterapi provider. this information should be discoverable through the generic mechanisms of clusterapi. also, i would like @jackfrancis to review this as well. please do not merge this until we have had time to review |
/assign @manishsat @Daniel-Redeploy what is additive in this PR on top of the original PR that introduced VMSS Flex for the Azure provider? Ref: cc @gandhipr |
@jackfrancis: GitHub didn't allow me to assign the following users: manishsat. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
O.K. I read through this PR changeset a bit more and it seems like the best way to describe this is "enable first class MachinePoolMachine support in clusterapi provider". Is that about right? If so, I would hope we can enable this in such a way where we don't have to reference |
Somehow I totally missed the VMSS Flex docs, feature and how to toggle it when I worked on this last November. I remember I found references to Flex but couldn't get the cluster autoscaler to remove instances without the code changed in this PR. In short CA found the VMSS, scaled out the instance count, but couldn't scale in since it couldn't find the individual instance. I haven't tested if the |
Makes perfect sense to me and it would make the clusterapi provider flexible against more MachinePool providers than Azure. 👍 |
/assign @elmiko @jackfrancis Assigning - since I understand you're reviewing this one? |
@Daniel-Redeploy have you had a chance to determine if we still need to preserve anything from this PR? |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
it seems like we can close this one, but i will leave that decision up to @jackfrancis and @Daniel-Redeploy |
/close @elmiko agree @Daniel-Redeploy feel free to reopen if I'm premature here! |
@jackfrancis: Closed this PR. 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-sigs/prow repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds support for Azure VMSS Flexible MachinePool deployments.
Which issue(s) this PR fixes:
Fixes #6454
Special notes for your reviewer:
Removes normalization of all azure resources, rather than just for Azure VMSS resources. The reason for this is that VMSS Flexible provisions VM's (
Microsoft.Compute/virtualMachines
) rather than instances as a sub-resource of the VMSS (Microsoft.Compute/virtualMachineScaleSets
).Should supersede #6632
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: