-
Notifications
You must be signed in to change notification settings - Fork 2
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
Discover LoadBalancer VIP via tag #142
Conversation
@LittleFox94 I was able to confirm that this works in combination with ANXKUBE-763 / https://code.anexia.com/se/k8sengine/-/merge_requests/518 without any further changes. Will test backwards compatability once I get my hands on cluster with the canonical VIPs still being used. |
Patched CCM successfully falls back to index calculated VIPs if no tagged Addresses are found. |
Code Climate has analyzed commit 2c16421 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 65.4% (50% is the threshold). This pull request will bring the total coverage in the repository to 52.7% (0.7% change). View more on Code Climate. |
a82473b
to
4a409d9
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.
some changes please, didn't look at the tests in detail yet
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.
some comments, but will do the changes myself due to our tight timeline
This adds auto discovery for LB addresses, using the canonical tag "kubernetes-lb-vip-<cluster name>". If no address with such a tag can be found, we fall back to the previous canonical IP address calculations. Co-authored-by: Mario Schäfer <[email protected]> Co-authored-by: Mara Sophie Grosch <[email protected]>
Co-authored-by: Mara Sophie Grosch <[email protected]>
e0a8e99
to
2c16421
Compare
This a rough draft to allow CCM to discover VIP addresses via their Engine tag.
Checklist
Unreleased
section in CHANGELOG.mdReferences
Community Note