rke2.yaml with server address lookpback (127.0.0.1) not LB #1833
Unanswered
cloudcafetech
asked this question in
Q&A
Replies: 2 comments 9 replies
-
Yes, the local admin kubeconfig on each server points at the local apiserver instance. Agents don't have an admin kubeconfig, but their kubelet kubeconfig points at a client loadbalancer that distributes connections between servers. The external LB address is only used when initially connecting to the cluster. This is covered in the RKE2 HA documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am using RKE2 HA, even after setting up 3 CP also facing same x509 error..
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Below steps when buildings RKE2 cluster on RHEL 8 & F5 LB (rancher.example.com) with signed CA loaded.
Cluster build OK. When I look kubeconfig file (/etc/rancher/rke2/rke2.yaml) its a loopback (server: https://127.0.0.1:6443) not LB (rancher.example.com)
That OK, I am able to get cluster details.
But if I change server address with LB (rancher.example.com) in kubeconfig file (/etc/rancher/rke2/rke2.yaml) then getting following error ...
Unable to connect to the server: x509: certificate signed by unknown authority
Beta Was this translation helpful? Give feedback.
All reactions