-
Notifications
You must be signed in to change notification settings - Fork 150
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
IPv6 address missing in nodes status #555
Comments
👋 the CCM implementation fetches v4 addresses only at this point. It should be fairly easy to include v6 ones from the DO API / the droplet struct we're working on already as well here. The one part I'm not absolutely sure about is how those addresses would need to be reflected in the This may need some discovery. |
(And yeah, additional binary flags might be needed too.) |
@timoreimann it can be appended to existing []v1.NodeAddress, no need of new type for IPv6. |
I might be wrong and we don't necessarily need a new flag. (CCMs like ours mostly inherit flags from kube-controller-manager, so we could check there for any IPv6-ish options.) I think we'd want a flag or environment variable though to control which IP addresses should be collected (IPv4 as today or IPv4 and IPv6) to make sure that clients expecting the node address fields to be IPv4-populated only do not break. |
@timoreimann In |
@sachintiptur CCM does not create VM / droplets but reads IP information from droplets retrieved via the public API. As such, we'd probably want to look at the |
@timoreimann Yeah I got that point, I meant or under assumption that the ipv6 config would be present in droplet while node creation and its being propagated to ccm. Otherwise even I thought about checking for presence of IPv6 Address in Network field.
|
Oh gotcha @sachintiptur. Glad to hear it's working for you. Feel free to submit a PR that adds the logic gated behind an environment variable, e.g., |
Yeah that makes sense. Sure will submit a PR. |
We integrated DO CCM into a dual-stack(IPv4 + IPv6) cluster.
Nodes are up with both IPv4 and IPv6 addresses but ipv6 addresses are not updated in node status(
kubectl describe nodes
).DO CCM flags used:
digitalocean-cloud-controller-manager --kubeconfig=/etc/kubernetes/kubeconfig/kubeconfig --leader-elect=false
Can you let us know whether IPv6 support is available in the version
v0.1.40
or is there any specific configuration that we are missing.The text was updated successfully, but these errors were encountered: