-
Notifications
You must be signed in to change notification settings - Fork 428
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
Use feature flag to create internal LB #5311
base: main
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0340bf6
to
f13bec7
Compare
f13bec7
to
90ba0f0
Compare
api/v1beta1/azurecluster_default.go
Outdated
@@ -245,6 +246,29 @@ func (c *AzureCluster) setAPIServerLBDefaults() { | |||
}, | |||
} | |||
} | |||
// if the API Server ILB feature is enabled, we should create a default internal LB IP |
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 not the changes we want.
We want the new feature flag to gate these code paths:
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-b74c6acb4629abe58f8286da9939563cc4404e09fe9966eb61dbde9b87274189R268
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-b6931ac61f37a13f66fc7836e039bf714a0553d5db4f313cc8ef31ca5f5647b9R301
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-e05ece175e7c4d07287224549778fa3f2c09deed6e6b3f5bfa95fed5ab18cfbfR217
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-e05ece175e7c4d07287224549778fa3f2c09deed6e6b3f5bfa95fed5ab18cfbfR258
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.
The changes to enable configurable apiserver ILB can come later.
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.
Commit 90ba0f0 adds feature flag for
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-b74c6acb4629abe58f8286da9939563cc4404e09fe9966eb61dbde9b87274189R268
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-b6931ac61f37a13f66fc7836e039bf714a0553d5db4f313cc8ef31ca5f5647b9R301
Below commits do not need a feature flag tho.
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-e05ece175e7c4d07287224549778fa3f2c09deed6e6b3f5bfa95fed5ab18cfbfR217
- https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5209/files#diff-e05ece175e7c4d07287224549778fa3f2c09deed6e6b3f5bfa95fed5ab18cfbfR258
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.
The changes to enable configurable apiserver ILB can come later.
Ok.
This PR is ready too.
But I see the suggestion is just "gate" the code changes, so splitting this PR into two.
4bba77d
to
9f43ff7
Compare
90ba0f0
to
3536e79
Compare
/test |
@nawazkh: The
The following commands are available to trigger optional jobs:
Use
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-sigs/prow repository. |
/test pull-cluster-api-provider-azure-apiversion-upgrade |
3536e79
to
8d09e90
Compare
/test pull-cluster-api-provider-azure-apiversion-upgrade |
@nawazkh: 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-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of #5296
Special notes for your reviewer:
TODOs:
Release note: