Adding worker node to K8s cluster created using Lima #1181
Replies: 1 comment 19 replies
-
This would need some better configuration of the URL in the config, obviously "localhost" won't work for a multi-node cluster...
But I think that it does create certificates for both the IP and the name of the node, so maybe it will work if you change it ? The kubeconfig was mostly intended to run from the host, with the 6443 being tunneled... To create a multi-node cluster, it probably needs some "parameters" to the yaml : like if it is a control plane or a worker node In order for the The command to run should be in the
You need the token, the url, and the hash (discovery-token-ca-cert-hash) This should be done, instead of the whole the control plane system script... EDIT: For k3s, the kubeconfig is in And the token is stored in https://docs.k3s.io/quick-start If using k3s.yaml instead, that is. |
Beta Was this translation helpful? Give feedback.
-
I created K8s cluster using k8s.yaml. I have created worker node instance. But when I tried to join the worker node to cluster using kubeadm,I am receiving error" couldn't validate the identity of API server "https://127.0.0.1:6443" Has anyone tried the multinode cluster using Lima.Please let me know.
Beta Was this translation helpful? Give feedback.
All reactions