rke2-agent node is not able to join to rke2-server cluster due to error: failed to get CA certs #6532
anishagoyal0504
started this conversation in
General
Replies: 1 comment 12 replies
-
It looks like the agent can't connect to the server? The connection is timing out. Make sure that you can successfully curl the server address from the agent. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
My rke2-server is working fine and can see the rke2-server node in the cluster (kubectl get nodes).
Now I am trying to join rke2-agent node in the rke2-server cluster by starting the service however, it is failing on the below:
"failed to get CA certs: Get "https://127.0.0.1:6444/cacerts\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
my rke2-agent node has below config to join the rke2-server clsuter:
Am I missing any steps for installing rke2-server and rke-agent. I am using standard method for installation (curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE="agent" sh -)
Any clue, why this error is coming, I could not find any solid answer or solution either on google or rke2- troubleshooting guides.
Any view please
thanks
Beta Was this translation helpful? Give feedback.
All reactions