https://rancher.com/ logo
Title
m

most-kite-870

07/21/2022, 9:06 AM
Let say that I have a kubernetes cluster setup and running. Do I install the Rancher into the cluster or place the rancher in another cluster to manage the fore mentioned cluster?
r

rapid-helmet-86074

07/21/2022, 12:55 PM
Rancher manages Kubernetes clusters including providing the user authentication for all managed clusters. As such, you might want to have redundancy if you're doing more than development, so Rancher apparently decided to make itself run in Kubernetes and use that for redundancy instead of reinventing the wheel there (a choice I can understand). So, for your question what you'd want to do if you want to use Rancher with a Kubernetes cluster that's going to be doing work is you want Rancher installed either on a single node if you don't care about redundancy or to a small, fairly low spec (i.e. 3 node) Kubernetes cluster and then have the cluster doing work be managed by Rancher.
c

creamy-pencil-82913

07/21/2022, 5:57 PM
It depends on how you want to manage it. It’s not recommended to deploy rancher TO the cluster you want to manage, because if you give out access to that cluster via Rancher, they could then mess with Rancher itself. It’s better to have a standalone cluster for Rancher, and then import or provision additional clusters for your workload, and grant access to those clusters.
m

most-kite-870

07/22/2022, 12:48 AM
What are the ports that needs to be opened for rancher to communicate with k8s cluster.
c

creamy-pencil-82913

07/22/2022, 2:15 AM
It doesn't go that way. Agent on the cluster communicates with Rancher. Ports are listed in the docs.