management-api-for-apache-cassandra icon indicating copy to clipboard operation
management-api-for-apache-cassandra copied to clipboard

Make K8SeedProvider Kubernetes aware

Open burmanm opened this issue 2 years ago • 2 comments

Instead of just trying to resolve hostnames, do actually treat the seed addresses as real target services. Use kubernetes-client to fetch EndpointSlices for the known seeds if Kubernetes version is 1.21 or newer.

This should also solve the issue with incorrect logging of not being able to resolve additional-seeds.

burmanm avatar Jan 02 '23 13:01 burmanm

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

github-actions[bot] avatar Jan 02 '23 13:01 github-actions[bot]

Ah, the integration test doesn't have running Kubernetes, so this will fail to instantiate the connection. Hmm..

burmanm avatar Jan 03 '23 15:01 burmanm