Skip to content
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

k8s: Running in an IPv6 dual stack cluster. #311

Open
Vilsol opened this issue Aug 3, 2021 · 0 comments
Open

k8s: Running in an IPv6 dual stack cluster. #311

Vilsol opened this issue Aug 3, 2021 · 0 comments

Comments

@Vilsol
Copy link

Vilsol commented Aug 3, 2021

Describe the bug
Currently if you are running in a dual-stack IPv4/6 cluster with emphasis on IPv6, kraken is unable to run.

The major issue resides here: https://github.com/uber/kraken/blob/master/lib/hostlist/config.go#L102

It resolves all peer instances of kraken via the headless DNS service, but if the DNS service returns at least (or only) IPv6 addresses, the entire startup errors due to it then being passed to the attachPortIfMissing here: https://github.com/uber/kraken/blob/master/lib/hostlist/config.go#L109

Filtering by IPv4 would only solve the issue if the DNS returns an IPv4 address, but in our case it does not. The only solution is then to actually support IPv6 at least in this function.

To Reproduce
Steps to reproduce the behavior:

  1. Start up a dual-stack cluster
  2. Run kraken

Expected behavior
Kraken to run

Environments
k8s v1.21.3

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

No branches or pull requests

1 participant