-
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
Add support for custom vm extensions #2631
Add support for custom vm extensions #2631
Conversation
Hi @willie-yao. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
2d078ea
to
4524d7a
Compare
/ok-to-test |
4524d7a
to
f7c3b3c
Compare
421e910
to
0d97956
Compare
/retest |
1 similar comment
/retest |
2e6b5cc
to
4cf6750
Compare
aac45b4
to
7d8dc85
Compare
/retest |
/lgtm |
@@ -0,0 +1,68 @@ | |||
# Custom VM Extensions | |||
|
|||
## Overview |
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.
Thanks for adding this doc, looks good 💯
Can you please add it to https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/7d8dc8583b1c8db99a84768e5ed7f2f140983a05/docs/book/src/SUMMARY.md?plain=1 under Topics so it shows up in the book Table Of Content?
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.
Got it! I'll add it under the other "custom" topics. I'm not sure if there is a specific ordering of topics, but I felt like that would be the best place to add it!
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.
Topics are ordered alphabetically I think (except the first two)
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 thought so too, but it seems like a few are out of order. "Custom Images" is under "Custom Private DNS Zone name", and there are a few others like "SSH Access to nodes". Should we standardize how we order the topics?
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'm guessing "Custom Private DNS Zone" is ordered by file name "custom-dns" (d comes before i) and "SSH Access to nodes" was likely just added at the end by someone who didn't realize the list was in order. Feel free to reorganize/rename however you see fit, the ordered list is becoming less practical now that we have so many topics, maybe we need sub-sections now. This can be a separate PR so it doesn't block this one.
7d8dc85
to
260eb56
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
@CecileRobertMichon I saw that there is a failed test with broken links. I'm assuming this is intended because the link for the new docs page hasn't been published yet. Is that correct? |
It's just bad luck, I got the same error on my PR, here's the fix: tl;dr k8s maintains 4 versions of that link, and then garbage collects the oldest one when a new release is needed Not sure if we wanna include it in this PR or rebase this on top of a PR that fixes it :( |
@jackfrancis Oh that makes sense! If this blocks merging, I'm not sure what's the better way to do it. I'm leaning towards including this in a separate PR since it's not related to custom vm extensions. |
@willie-yao you can rebase on top of latest main as this PR delivered the needful: #2680 |
260eb56
to
2634777
Compare
@jackfrancis @CecileRobertMichon Did the rebase and the test passes now. Does everything look good for approval? |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis 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:
This PR adds support for deployment of custom VM extensions from the Azure Extension gallery as part of a VM and VMSS deployment.
Which issue(s) this PR fixes:
Fixes #2221
Special notes for your reviewer:
In order to test the extension provisions successfully, I used Tilt to deploy the default flavor. I added the VMExtensions field to the default cluster template's AzureMachineTemplate spec like so:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: