https://rancher.com/ logo
#general
Title
# general
a

adamant-kite-43734

10/25/2022, 12:16 AM
This message was deleted.
c

creamy-pencil-82913

10/25/2022, 12:38 AM
yes, there is a local load-balancer on agents that maintains persistent connections to all the servers
not sure why you mean by downstream cluster? Are you talking about Rancher, or RKE2?
q

quick-advantage-47244

10/25/2022, 12:56 AM
https://docs.ranchermanager.rancher.io/v2.5/reference-guides/rancher-manager-architecture/rancher-server-and-components I meant the RKE2 cluster provisioned by Rancher 2.x, i.e. the "Downstream User Cluster" in the link above.
c

creamy-pencil-82913

10/25/2022, 3:10 AM
That’s Rancher. It’s an application that’s deployed to the cluster. It’s not really affected by the supervisor architecture
For RKE2 docs you would want to reference https://docs.rke2.io/architecture/architecture/
q

quick-advantage-47244

10/25/2022, 9:33 AM
I have provisioned an RKE2 cluster with elemental-operator . So, the value of the "server" attribute in the /etc/rancher/rke2/config.yaml.d/50-rancher.yaml (in worker node) file is the IP of a specific master node. If the master node dies and this node restarts, how can connect to the cluster? The description of https://docs.rke2.io/install/ha/ says to use a domain for HA, but when provisioning with elemental, the domain cannot be used.
c

creamy-pencil-82913

10/25/2022, 6:36 PM
the client maintains a local cache of server endpoints. the --server address is only used when initially joining the cluster.
You can find the cache at
/var/lib/rancher/rke2/agent/etc/rke2-*.json
q

quick-advantage-47244

10/26/2022, 12:05 AM
Yes! This is what I was looking for! Thank you 🙂
c

creamy-pencil-82913

10/26/2022, 4:52 AM
you’ll also see messages in the logs about loadbalancer addresses as they are added and removed
6 Views