Skip to content

rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: authentication handshake failed: tls.... #9704

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

You must be logged in to vote

As you create new client-side talosconfig file, you erased the previous client-side configuration including the cluster secrets, etc.

So unless you have a backup, the access to the cluster is lost.

You could do a little hack though (which works today, but might not work in the future): as you have admin-level kubectl access, you can create a privileged pod on the controlplane node with something like:

kubectl debug -it node/cp-node-1 --image alpine --profile=sysadmin -n kube-system

From within that pod, you can copy out the file /host/system/state/config.yaml, which will be your controlplane.yaml file (from gen config). After that you can follow the doc.

Note: you seem to have 2 controlp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@talosnoob
Comment options

Answer selected by talosnoob
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