-
Notifications
You must be signed in to change notification settings - Fork 717
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
kubeadm bootstraps apiserver with mismatching IP famlies #2754
Comments
I tried to tell kubeadm to move the apiServer binding to IPv6 using the following configuration:
Note that
|
Correction: adding
to the configuration fixes the issue. However it would be great if kubeadm could detect that conflict by itself and bootstrap the correct api server parameters. |
advertiseAddress is autodetected from the default route on the host. if you'd like that ip to be v6 family, i think setting it explicitly is valid. probing the control plane endpoint for ip family does not seem like something we want to do. |
please add further comments if needed. |
What keywords did you search in kubeadm issues before filing this one?
There is #1612 however it does not seem to address this issue.
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
What happened?
Running apiserver fails with:
What you expected to happen?
To bind to the correct IP family or to both
How to reproduce it (as minimally and precisely as possible)?
Bootstrap on a dual stack server with public IPv6 + public IPv4. I used the following config for kubeadm:
Anything else we need to know?
In a non k8s context I'd expect the api server to listen to all ip families. However if the host ip family is influenced by the pod sub net family, we might need to select the control plane endpoint depending on the podsubnet ip family
The text was updated successfully, but these errors were encountered: