-
Notifications
You must be signed in to change notification settings - Fork 260
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
✨Service interface load balancer #1119
✨Service interface load balancer #1119
Conversation
✔️ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready! 🔨 Explore the source changes: af897fc 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/61efd981b0837e000898a317 😎 Browse the preview: https://deploy-preview-1119--kubernetes-sigs-cluster-api-openstack.netlify.app |
Hi @mgrote. 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. |
/ok-to-test |
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.
This is great. Helps a lot with testing and makes the load balancer code more readable by moving out the metrics context calls.
5be2fc7
to
eacdbd5
Compare
mostly good , fix the pull-cluster-api-provider-openstack-test error we should be ready to go |
eacdbd5
to
af897fc
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
Thank you for updating the boilerplate.generatego.txt
.
The previous test failed as the image used by Prow uses Go version 1.17.6.
After @mgrote updated to Go version 1.17, the generated files were accepted by the test.
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.
/approve
Great job, also for handling the boilerplate header :-)
This looks great! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi, mdbooth, mgrote 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 |
/hold cancel |
What this PR does / why we need it:
For better testability it is useful to abstract a service interface for loadbalancers. That interface could be easily mocked e.g. with gomock for propper testing.
The same was already done for pkg/cloud/services/networking in #935.
Which issue(s) this PR fixes
Fixes #1120
Special notes for your reviewer:
TODOs:
/hold
Michael Grote [email protected], Daimler TSS GmbH, Provider Information