Skip to content

What is the purpose of the cluster.controlPlane.endpoint field in the controlplane.yaml? #9824

Answered by smira
kubernegit asked this question in Q&A
Discussion options

You must be logged in to vote

The answer depends on the way you have your cluster configured (mostly if you disable some default features), but roughly it's the following:

  • this address is used as an endpoint in the client-side kubeconfig file you receive with talosctl kubeconfig
  • this address is used to derive certSANs if the endpoint is not the IP address of the node (addresses are certSANs automatically), e.g. a DNS name
  • if cluster discovery is disabled (non-default setting), it would be used by worker to discover controlplane, and by controlplanes to discover other controlplanes (for etcd cluster join)
  • if KubePrism is disabled (non-default settings), it would be used by workers to talk to the controlplane

So in ge…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kubernegit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants