-
Hi, I think I misunderstood the doc when I created my cluster without realizing, because the other day after deleting an old dns entry my cluster exploded. It looks like I used my first node's dns name as the kubernetes endpoint, so presumably now all the nodes depend on that first node's name resolving to a valid api server. Looking in the controlplane config the only place this name seems to show up is in the apiServer I really thought I was pointing it at the VIP but I guess not. But would that even be safe ? My understanding is the VIP needs etcd to be healthy to become available, but it seems etcd can't come up on a node if it can't reach that endpoint, meaning it'd be impossible to bring the cluster back up after more than one node going down on a three node cluster if pointing at the VIP. Or am I missing something ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Kubernetes endpoint is part of the machine configuration. If you have KubePrism enabled, Talos itself doesn't even use it. Make sure you update all nodes to point to the new endpoint, it's safe to change it. |
Beta Was this translation helpful? Give feedback.
KubePrism is part of the machine configuration, it's available since 1.5.0, but enabled by default in 1.6.0
But it won't be enabled on upgrade, you can enable it at any moment, just follow the documentation: https://www.talos.dev/v1.6/kubernetes-guides/configuration/kubeprism/
You can change the endpoint without KubePrism as well. For worker machines, that endpoint will be used by the kubelet to talk to the controlplane.
Controlplane machines don't depend on the endpoint themselves.