-
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
Enable configurable API Server Load Balancer #974
Enable configurable API Server Load Balancer #974
Conversation
Skipping CI for Draft Pull Request. |
Unknown CLA label state. Rechecking for CLA labels. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
// +optional | ||
PrivateIPAddress string `json:"privateIP,omitempty"` | ||
// +optional | ||
PublicIP *PublicIPSpec `json:"publicIP,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.
@alexeldeib @MirzaSikander this supersedes #652, along with kubernetes-sigs/cluster-api#3715
a701fbb
to
7de2cf9
Compare
4633862
to
a3dfbca
Compare
ad68f7e
to
8c3a794
Compare
I still need to fix unit tests and find a way to test private clusters but otherwise, most functionality should be there so this is ready for initial review. |
286fd9a
to
76fff2f
Compare
/hold for private cluster test @devigned @alexeldeib @nader-ziada @mboersma this is ready for initial review |
76fff2f
to
bf74cc4
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
/assign @alexeldeib
🎉 great work Cecile |
is this the hairpin issue? looks like a timeout hitting the api server with 3 master setup? didn't look too deeply I admit /test pull-cluster-api-provider-azure-e2e
|
no it was the HA public cluster spec that failed |
@alexeldeib let me know when you're okay with me rebasing |
update templates
39dc426
to
bca8eb5
Compare
Rebased + squashed @alexeldeib @devigned @nader-ziada ready for a final look |
Update azure_test.go
Update cluster.go attach VMs to outbound LB fix PublicLBAddressPoolName address comments Update networkinterfaces_test.go address comments cleanup OutboundPoolName/APIServerLBName fix tests
Update azure_test.go
bca8eb5
to
fd5c6ad
Compare
@CecileRobertMichon: 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. |
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: devigned 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
/kind api-change
What this PR does / why we need it: This PR allows configuring the API Server load balancer to enable things like private clusters, eg:
It adds defaulting + validating webhooks for the new Load Balancer spec. It also allows BYO api server public IP via specifying a pre-existing IP.
Check out the docs to see what this exposes to the user: https://deploy-preview-974--kubernetes-sigs-cluster-api-provider-azure.netlify.app/topics/api-server-endpoint.html
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 #486, #696, #952, #892
Special notes for your reviewer:
Still work in progress, opening to get early feedback.
Changes are currently breaking.Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: