Skip to content

Make K8SeedProvider Kubernetes aware - #240

Open
burmanm wants to merge 1 commit into
k8ssandra:masterfrom
burmanm:use_endpoint_slices_as_seeds
Open

Make K8SeedProvider Kubernetes aware#240
burmanm wants to merge 1 commit into
k8ssandra:masterfrom
burmanm:use_endpoint_slices_as_seeds

Conversation

@burmanm

@burmanm burmanm commented Jan 2, 2023

Copy link
Copy Markdown
Contributor

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.

@github-actions

github-actions Bot commented Jan 2, 2023

Copy link
Copy Markdown

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

@burmanm

burmanm commented Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant