https://rancher.com/ logo
Title
l

limited-elephant-16797

03/14/2023, 9:59 AM
Hi All, I'm attempting to set up an on-premises K8S cluster with Rancher on Vsphere. I'm using a Docker container to access the Rancher Management UI, and my concern is how I'll access the configured management UI again if the Docker container dies for any reason. Do you also recommend this method for production workloads?
a

agreeable-oil-87482

03/14/2023, 10:39 AM
The docker install method is not recommended for production environments. For a production setup, Rancher will reside on its own k8s cluster.
l

limited-elephant-16797

03/14/2023, 12:09 PM
What alternative do you recommend for setting up production clusters using Rancher? @agreeable-oil-87482
l

limited-elephant-16797

03/14/2023, 12:32 PM
Thanks 👍
Also, the only purpose I am using Rancher for is to create an on-prem K8S cluster on Vsphere. I don't have any existing HA K8S cluster there to host Rancher itself, that's why the first choice was Docker on a single node. Any alternative way you recommend for this use-case to set up an on-prem cluster on Vsphere? @agreeable-oil-87482
a

agreeable-oil-87482

03/14/2023, 5:03 PM
You could create an rke2/k3s cluster directly on vm's and then install Rancher on it
l

limited-elephant-16797

03/14/2023, 5:07 PM
Thanks for the prompt response David, but if the k3s VM itself fails, Will it impact the configured Vsphere K8S cluster and deployments on it? Also, how to access the management UI again in such a case, any fallback approach?
a

agreeable-oil-87482

03/14/2023, 5:23 PM
You would have a multi node cluster for redundancy and also leverage the backup operator to restore Rancher to a new cluster if required.
👍 1
l

limited-elephant-16797

03/14/2023, 5:42 PM
Yes, that's also something I was exploring around. Thanks a lot for your valuable suggestions.
👍 1