Skip to main content
Version: Latest

Rancher Manager (Experimental)

The rancher-vcluster add-on allows you to run Rancher as a workload on the underlying Hypervisor cluster and is implemented using vCluster.

The add-on runs a nested K3s cluster in the rancher-vcluster namespace and deploys Rancher to this cluster.

During the installation, the ingress for Rancher is synced to the Hypervisor cluster, allowing end users to access Rancher.

Configuring the Add-on

After installation, configure the add-on using the Hypervisor UI.

  1. Go to Advanced > Add-ons.

  2. Locate the rancher-vcluster add-on, and then select > Edit Config.

  3. In the Hostname field, enter a valid DNS record pointing to the Hypervisor VIP. This is essential as the vcluster ingress is synced to the parent Hypervisor cluster. A valid hostname is used to filter ingress traffic to the vcluster workload.

  4. In the Bootstrap Password field, enter the bootstrap password for the new Rancher deployed on the vcluster.

Once the add-on is deployed, Rancher can take a few minutes to become available.

You can then access Rancher via the hostname DNS record that you provided.

See Rancher Integration for more information.

note

rancher-vcluster is deployed on a vcluster Statefulset that uses a Longhorn PVC named data-rancher-vcluster-0.

When you disable the add-on, the PVC remains in the rancher-vcluster namespace. If you enable the add-on again, the PVC is reused and Rancher's previous state is restored.

If you want to wipe the data, ensure that the PVC is deleted.

Troubleshooting

See Importing of Hypervisor Clusters into Rancher.