-
Notifications
You must be signed in to change notification settings - Fork 325
loadbalancer[1]: add initial implementation of LoadBalancer interface #128
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
Conversation
Welcome @HaibaraAi96! |
Hi @HaibaraAi96. Thanks for your PR. I'm waiting for a kubernetes 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. |
) | ||
|
||
// newLoadBalancer returns an implementation of cloudprovider.LoadBalancer | ||
func newLoadBalancer(region string, creds *credentials.Credentials) (cloudprovider.LoadBalancer, error) { |
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.
@andrewsykim I'm just following the pattern for implementing the LoadBalancer interface
For the functions to implement, I leave EnsureLoadBalancer() empty and will implement that in a follow-up PR
For other functions, I left some TODOs and probably need more discussions
99b0a34
to
afd094d
Compare
afd094d
to
4641b99
Compare
A couple points for load balancers in V2. We're planning on eventually moving classic load balancers to a deprecated state so that new services use NLB's by default, and we currently have NLB code split between a target IP mode, which is going into the "aws-load-balancer-controller" and the existing NLB instance mode, which is in the legacy cloud provider. We'd like to move both NLB target types to the aws-load-balancer-controller, so all new services would be delegated to that, unless they specifically requested legacy behavior. In terms of what the legacy classic load balancer support looks like, I'm guessing what we're planning here will be fine, which from my perspective is basically the existing behavior with support for friendly names? /cc @M00nF1sh |
4641b99
to
1b0c69c
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: nicolehanjing 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 |
b070cd7
to
0c90d1b
Compare
0c90d1b
to
136ce53
Compare
136ce53
to
ed37f3c
Compare
e805f94
to
059c537
Compare
059c537
to
e329869
Compare
e329869
to
a599ea3
Compare
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@nicolehanjing: PR needs rebase. 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. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closed this PR. 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. |
/remove-lifecycle rotten |
@nckturner: Reopened this PR. 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. |
@nicolehanjing: The following tests 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. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. 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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This is an initial PR of implementing the load balancer.
implemented several functions:
some TODOs for follow-up PRs:
EnsureLoadBalancer
functionGetLoadBalancerName
may need improvementsWhich issue(s) this PR fixes:
Part of #125
Special notes for your reviewer:
Does this PR introduce a user-facing change?: