You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reset the Kubernetes cluster, and then moved the IPv4 address in the podSubnet parameter of the kubeadm-config.yaml file, 10.244.0.0/16, to the front, ahead of the IPv6 address 2001:db8:42:0::/56, and re-initialized the Kubernetes cluster. Now flannel starts up normally.
Is it prioritizing the IPv6? I tried to read the logs and it's strange that you didn't get the IPv4 there; it should get both IPs independently from the order. To prioritize IPv6 I think that it's enough the order of node-ip on the Kubelet args.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I need to configure flannel for dual-stack mode, my Kubernetes has been initialized for dual-stack mode, below is my
kubeadm-config.yaml
file:I need the communication within the cluster to prioritize using IPv6, so I put the IPv6 address before the IPv4 address.
Below are the network-related configurations for flannel:
The error message when starting flannel is as follows:
I don’t understand why it prompts: Observed a panic:
Address is not an IPv4 address
.My server has both IPv4 and IPv6 addresses:
I changed
EnableIPv4
tofalse
, and Flannel can start normally.But my requirement is to support both IPv4 and IPv6, with communication between Pods and Nodes prioritizing IPv6.
The text was updated successfully, but these errors were encountered: