-
One of my ipv6 services (I'm using metallb on some raspberry pis) stopped responding -- when I took a look at the
How does k3s choose which ipv6 address (there are many) from an interface is chosen for a service? I haven't used the fd08:: prefix address in a while -- does k3s just choose a random ipv6 address that happens to be on the node's interface during install, assuming it's static throughout the node's lifetime? Is the best practice then to set up static ipv6 addresses for k3s hosts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
If you're using metallb to expose the service as a LoadBalancer, metallb is responsible for assigning the IP from one of its pools. The ClusterIP for the service is assigned once when the Service is created, out of the pool specified by the service-cidr configuration value. |
Beta Was this translation helpful? Give feedback.
Yes, the node IPs (of both IP families) are expected to be static. Kubernetes does not handle node IP changing while it is running, as you would see if you are using reservationless dynamic addressing for your nodes.