---
title: "Rancher UI"
description: "Install Calico Enterprise on an RKE2 cluster from the Rancher UI rather than the command line."
product: "Calico Enterprise"
version: "3.23 (latest)"
section: "Install and upgrade"
canonical_url: "https://docs.tigera.io/calico-enterprise/latest/getting-started/install-on-clusters/rancher-ui"
---

# Rancher UI

## Big picture

Install Calico Enterprise on RKE2 using the Rancher UI (Rancher Manager).

## Before you begin

> **SECONDARY:** To install Calico Enterprise using Rancher UI, you must provision a base RKE2 cluster with Calico Open Source, then upgrade to Calico Enterprise. This is required because Rancher UI does not provide an option to set the RKE2 CNI value as `none`, which is required to install a non-default CNI like Calico Enterprise.

**CNI support**

Calico CNI for networking with Calico Enterprise network policy:

The geeky details of what you get:

| Policy | IPAM   | CNI    | Overlay | Routing | Datastore  |
| ------ | ------ | ------ | ------- | ------- | ---------- |
| Calico | Calico | Calico | VXLAN   | BGP     | Kubernetes |

?

**Required**

- A compatible cluster that can host the Rancher Manager with v2.6.5 or later

  For help, see [Rancher](https://ranchermanager.docs.rancher.com/).

- A [Tigera license key and credentials](https://docs.tigera.io/calico-enterprise/latest/getting-started/install-on-clusters/calico-enterprise.md).

- Rancher's `kubectl` shell with access to provisioned cluster.

## How to

- [Prepare a Calico Open Source cluster](#prepare-a-calico-open-source-cluster)
- [Upgrade to Calico Enterprise](#upgrade-to-calico-enterprise)

### Prepare a Calico Open Source cluster

1. [Provision an RKE2 cluster using Calico as the CNI and default config options](https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/launch-kubernetes-with-rancher).

2. Validate that the RKE2 cluster is set up and running.

3. In Rancher UI, open a `kubectl` shell for the cluster, and perform the next steps.

4. Annotate the Calico Helm chart with `helmcharts.helm.cattle.io/unmanaged=true`. (This avoids Rancher resetting the CNI to Calico when the RKE2 cluster is shut down or upgraded.)

   ```bash
   kubectl annotate helmchart -n kube-system rke2-calico helmcharts.helm.cattle.io/unmanaged=true && \
   kubectl annotate helmchart -n kube-system rke2-calico-crd helmcharts.helm.cattle.io/unmanaged=true
   ```

5. SSH to all the control plane nodes and rename `rke2-calico.yaml` in the `/var/lib/rancher/rke2/server/manifests/` directory to `rke2-calico.yaml.skip`.

   ```bash
   sudo mv /var/lib/rancher/rke2/server/manifests/rke2-calico.yaml /var/lib/rancher/rke2/server/manifests/rke2-calico.yaml.skip
   ```

6. Patch the Calico `Installation` resource to remove the image path prefix.

   ```bash
   kubectl patch installation default --type='json' -p='[{"op": "remove", "path": "/spec/imagePath"},{"op": "remove", "path": "/spec/imagePrefix"}]'
   ```

7. Create ClusterRole and ClusterRoleBinding to allow Tigera Operator to update Pod Security Admission.

   ```bash
   kubectl create -f - <<EOF
   apiVersion: rbac.authorization.k8s.io/v1
   kind: ClusterRole
   metadata:
     name: tigera-operator-psa
   rules:
   - apiGroups:
     - management.cattle.io
     resources:
     - projects
     verbs:
     - updatepsa
   ---
   apiVersion: rbac.authorization.k8s.io/v1
   kind: ClusterRoleBinding
   metadata:
     name: tigera-operator-psa
   roleRef:
     apiGroup: rbac.authorization.k8s.io
     kind: ClusterRole
     name: tigera-operator-psa
   subjects:
   - kind: ServiceAccount
     name: tigera-operator
     namespace: tigera-operator
   EOF
   ```

### Upgrade to Calico Enterprise

1. In Rancher UI, open a `kubectl` shell for the cluster.

2. Follow the [steps to upgrade Calico to Calico Enterprise in the `kubectl` shell](https://docs.tigera.io/calico-enterprise/latest/getting-started/upgrading/upgrading-calico-to-calico-enterprise/upgrade-to-tsee/standard.md)

## Next steps

**Recommended**

- [Configure access to the Calico Enterprise web console](https://docs.tigera.io/calico-enterprise/latest/operations/cnx/access-the-manager.md)
- [Authentication quickstart](https://docs.tigera.io/calico-enterprise/latest/operations/cnx/authentication-quickstart.md)
- [Configure your own identity provider](https://docs.tigera.io/calico-enterprise/latest/operations/cnx/configure-identity-provider.md)

**Recommended - Networking**

- The default networking uses VXLAN encapsulation with BGP routing. For all networking options, see [Determine best networking option](https://docs.tigera.io/calico-enterprise/latest/networking/determine-best-networking.md).

**Recommended - Security**

- [Get started with Calico Enterprise tiered network policy](https://docs.tigera.io/calico-enterprise/latest/network-policy/policy-tiers/tiered-policy.md)
