management-api-for-apache-cassandra
management-api-for-apache-cassandra copied to clipboard
Make K8SeedProvider Kubernetes aware
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.
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
Ah, the integration test doesn't have running Kubernetes, so this will fail to instantiate the connection. Hmm..