-
Notifications
You must be signed in to change notification settings - Fork 459
Add subnetName support to ammp #3132
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
Add subnetName support to ammp #3132
Conversation
6cd0dc6
to
ec6a860
Compare
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.
Overall this looks great! Just a few minor nits from me.
d69d225
to
706dc6d
Compare
I am wondering if a similar change as that of #2411 is required for AzureManagedMachinePool ? |
Good question. I don't believe AKS allows us to pass in custom network interfaces (does it?) |
@CecileRobertMichon If the subnet does not exist should capz create it ?? We do that in the case of vnet and subnet configured in amcp. |
706dc6d
to
74586f4
Compare
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.
/lgtm
LGTM label has been added. Git tree hash: ae2130dfdd293f3779dd1ef8cffa4860270640b0
|
That's a tricky one. In the case of AzureMachinePool (unmanaged) we don't create/reconcile subnets as part of the MachinePool controller. Here is the original PR that did this #1411 |
74586f4
to
8b84f4d
Compare
/milestone v1.8 |
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.
Apologies if I am too late on sharing my thoughts on this. I went over the PR semantically and have shared some thoughts.
Thanks for looking into this!
5d0169f
to
9cc609a
Compare
/test pull-cluster-api-provider-azure-e2e-aks |
/test pull-cluster-api-provider-azure-test |
/test pull-cluster-api-provider-azure-e2e-aks |
1 similar comment
/test pull-cluster-api-provider-azure-e2e-aks |
142981e
to
87555d9
Compare
@CecileRobertMichon @nawazkh @willie-yao can you guys please take a look at this PR again :) |
/lgtm |
LGTM label has been added. Git tree hash: 3020abe99d087dc2fb535f7897b8ac8b0208489a
|
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.
I have a couple of thoughts which I have noted down, especially using pointer
package over go-autorest/autorest/to
since we are trying to move away from it.
Apart from that, everything else looks great to me. Thank you for putting this together! Solid work!
87555d9
to
3b8ef4b
Compare
3b8ef4b
to
da8fbeb
Compare
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. |
da8fbeb
to
8f5ec54
Compare
/lgtm |
LGTM label has been added. Git tree hash: b360f0afa4d4046363eb6640c28ea8bc654af140
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Support to configure a different subnet for AzureManagedMachinePool.
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 #1599
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: