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
|
PSA: this PR is now able to be run end to end by running: make tilt-up
CLUSTER_TEMPLATE=cluster-template-machinepool.yaml make create-workload-clusterPlease provide feedback. |
|
@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:
|
rbitia
left a comment
There was a problem hiding this comment.
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.
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.
These are just there for example. The flavor actually has environment vars which match the Quickstart.
CecileRobertMichon
left a comment
There was a problem hiding this comment.
/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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Co-authored-by: Danny Brito <dannybrito@microsoft.com>
This PR implements machine pools for CAPZ using Azure Virtual Machine Scale Sets. In this PR, an
/exppath is added similar to CAPI to be the home for theAzureMachinePoolAPI 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: