-
Notifications
You must be signed in to change notification settings - Fork 430
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
Availability zones support for managed clusters #1564
Availability zones support for managed clusters #1564
Conversation
Hi @LochanRn. 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. |
98e1b92
to
b1bc1c5
Compare
/ok-to-test |
/test pull-cluster-api-provider-azure-e2e-exp |
Looks good to me. |
In the future it would be nice to add checks if the region that the cluster is being deployed to supports multiple availability zones, since not all regions support them https://docs.microsoft.com/en-us/azure/availability-zones/az-region#azure-regions-with-availability-zones. |
@@ -42,6 +42,9 @@ type AzureManagedMachinePoolSpec struct { | |||
// +kubebuilder:validation:Enum=System;User | |||
Mode string `json:"mode"` | |||
|
|||
// AvailabilityZones - Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType. | |||
AvailabilityZones *[]string `json:"availabilityZones,omitempty"` |
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.
To copy-paste @alexeldeib's nit from AAD PR, maybe just a slice instead of pointer to a slice could do the job here.
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.
ack
b1bc1c5
to
61d3332
Compare
6cfcbd1
to
29fe21a
Compare
/test pull-cluster-api-provider-azure-e2e-exp |
29fe21a
to
1a91b44
Compare
/test pull-cluster-api-provider-azure-e2e-exp |
1 similar comment
/test pull-cluster-api-provider-azure-e2e-exp |
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, outside of some optional tags.
/lgtm cancel |
a76ee81
to
48cc156
Compare
48cc156
to
c0178f5
Compare
/area managedclusters |
c0178f5
to
ad4276e
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! Nice work, @LochanRn.
/assign @CecileRobertMichon
/approve |
[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 |
removed az in v1a3 and v1a4
ad4276e
to
3848ded
Compare
@LochanRn: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
/test pull-cluster-api-provider-azure-e2e-windows-dockershim |
@CecileRobertMichon @devigned I think the PR needs a lgtm |
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
What type of PR is this?
/kind feature
What this PR does / why we need it:
It adds availability zones support for managedclusters/agentpools in capz
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 #1559
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: