must worker nodes have static IPs?

308 Views Asked by At

I'm facing problems with pods on worker nodes responding http requests - and it is not Traefik's or the application's fault. Everything works on the master nodes with these settings and deployment.

I'm wondering: Do k3s worker nodes require static IP addresses and a FQDN (not just a unique hostname) when added to a k3s cluster?

1

There are 1 best solutions below

0
feder On

Yes, worker nodes must have fixed IPs so that the kube-proxy can pick up on deployments. I don't know why that should be the mandatory. There is a k3s client (kublet, kube-proxy) installed on the client with a dynamic IP. That client could easily inform the K3s master nodes. I think that is a design flaw. Anyhow, it is that way: Kubernetes worker nodes require a fixed IP.