For Industrial & IoT, go to portainer.industries · For AI, go to portainer.ai
Register for our August 27th webinar: Why Kubernetes Docs Keep Losing You (And What We Did About It) →
Blog

From Rancher to Portainer: Your Step-by-Step Migration Blueprint

Introduction: Architectural Overview

Rancher and Portainer approach Kubernetes management very differently. Rancher is a comprehensive multi-cluster management platform that organizes clusters into “projects” (application-specific groupings) and leverages custom RBAC, GitOps (via Fleet), and an array of add-ons managed through its UI. Its control plane is a set of services running on Kubernetes.

Portainer, on the other hand, is a self-contained containerized management solution. Its central server can run in various environments—on a dedicated management VM (under Docker), on a single-node Kubernetes cluster (using k3s), or as part of a small Kubernetes-as-a-Service (KaaS) deployment in the cloud. Portainer uses pre-defined RBAC roles and a pull-based GitOps model that requires you to define your desired state directly within its interface. It can manage any Kubernetes environment—on-prem, cloud, edge, or any distribution—with a simpler, container-first architecture.

1. Inventory and Prerequisites

Begin by manually documenting all key elements of your Rancher-managed environment. In Rancher, “projects” serve as application-specific groupings that help organize namespaces according to your deployment needs. Record details such as:

Consult Rancher’s documentation to verify that you’ve captured every configuration element necessary for the migration.

2. Deploy the New Portainer Management Environment

Set up a new Portainer management server as your central control plane:

Refer to academy.portainer.io for detailed first setup steps.

This environment will oversee your new clusters and coordinate subsequent reconfigurations.

3. Recreating Your Kubernetes Clusters Using Portainer

With your Portainer management environment in place, re-create new instances of your RKE Kubernetes clusters using Portainer’s integrated deployment of Sidero Talos. Note that unlike Rancher, with its "machine" drivers, provisioning VMs is handled externally; you must pre-create VMs in your hypervisor/cloud, and then boot these VMs off the Talos bootable media so Portainer can discover them. In addition, if you are using bare-metal servers, you need to boot the bare metal servers off the Talos bootable media.

In practice:

4. Recreate RBAC and User/Team Assignments

Since Rancher uses custom RBAC configurations mapped to "Projects",  and Portainer relies on pre-defined roles mapped to Clusters/Namespaces, you must manually remap your existing settings:

5. Onboard Any Non-RKE Clusters That You Wish to Retain

For clusters that were not created using RKE, ensure they are still part of your operational environment by onboarding them into Portainer:

6. Observability

With Portainer now the management console, you need to update your observability tooling.

7. Application Redeployment

Since your new clusters are built from scratch, application workloads must be redeployed:

8. Final Validation and Cutover

After reconfiguring and redeploying everything, perform comprehensive validation:

So, now you have the steps required to migrate your Kubernetes management controller and distribution from Rancher to Portainer (and Sidero).

One platform, not twelve tools.

Govern Kubernetes across your whole fleet from a single control plane. Get 3 nodes free.

Get 3 nodes freeTalk to technical sales


Get 3 nodes free More from the blog