-
Notifications
You must be signed in to change notification settings - Fork 431
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
feat: implement AzureMachinePool #483
Conversation
2a8537a
to
1d79dc5
Compare
2ff7025
to
2b58559
Compare
When deleting a cluster, machinepool is not deleted. This needs to be resolved upstream and can be remedied by deleting the machinepool, then deleting the cluster. |
00c424e
to
329b52c
Compare
@devigned I'm sorry to do this to you but... How doable would it be to break down this huge PR into individual commits for all the different components it touches (adding types, controllers, generated files, tests, mocks, docs, etc.) to facilitate reviews? (still one PR, just break down the commit history into smaller commits) |
@CecileRobertMichon, what do you think of this separation:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I wrote these comments from a view point of someone who is trying out machine pools after creating a cluster with the capz quickstart.
"subscriptionId": "subscriptionID", | ||
"aadClientId": "clientID", | ||
"aadClientSecret": "secret", | ||
"resourceGroup": "capz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we make it easy for first time users and change the rg, cluster name etc, to what they set in the CAPI book quickstart?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are just there for example. The flavor actually has environment vars which match the Quickstart.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, sounds good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/hold for docs review
Beautiful work @devigned 💯
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon, devigned The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR implements machine pools for CAPZ using Azure Virtual Machine Scale Sets. In this PR, an
/exp
path is added similar to CAPI to be the home for theAzureMachinePool
API and controller. The controller, api and service model borrows heavily fromAzureMachine
(there's a fair bit of copypasta, and I think there are opportunities to dry up a lot of this code).TODOs
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #472
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: