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

quiet-area-89381

10/02/2022, 2:25 AM
Hi everyone. I've used rancher a few years ago successfully for a small cluster. I'd like to use it again now for an existing on-prem cluster running on microk8s. There is existing workload on it. Is there a special way to register/import this cluster into rancher? 2 other questions: I'd like to deploy rancher itself in HA on that same cluster. It's still feasible? and I'll use Google SSO for the users. Will it mess up any existing Service Account/Role Binding in the cluster?
my other option is to recreate a second cluster with RKE2 for instance, manage it with rancher, and just move the workload to that. Would it be a preferred aproach?
q

quick-sandwich-76600

10/03/2022, 11:59 AM
If you want to have Rancher deployed on top of your microk8s you can do it. At the end of the day Rancher Management is just a helm chart that runs on top of any Kubernetes cluster given that the Kubernetes version is supported. When you do that, the cluster where Rancher Management is deployed becomes the "local" cluster (local is an especial name to designated the cluster where Rancher is deployed) and you can manage it. If your microk8s cluster is Highly Available, Rancher will be highly available (it uses several replicas and uses the underlying etcd as storage). May that mess up with your exiting SAs and Role Bindings? I don't think so (but I'm not 100% sure). Connecting with Google SSO is better done after Rancher is deployed, as you can leverage the existing integration.
With the second approach, you'll be in a better position as you know for sure that's a scenario that is very well tested. And I do think RKE2 is better than microk8s 🙂
😁 1
q

quiet-area-89381

10/03/2022, 2:37 PM
thanks for the confirmation.
👍 1
3 Views