DEMO/Infrastructure

← Back to dashboard

Setting up Rancher

Audience: operator · Profile: demo · Read this when: you are standing up the Rancher management plane, or connecting one you already run.

Part of Rancher Kubernetes Management.

Step 1 — Enable Kubernetes management

Settings → Integrations → Kubernetes → toggle on. A Kubernetes (Rancher) tab appears on the Containers page.

Step 2 — Configure the node

Open Settings → Kubernetes and fill in the Rancher management node section. The first group applies whichever cloud the node runs on:

Field Notes
Bootstrap password First-run admin password. The API token is minted from it and stored encrypted; you never re-enter it.
Allowed source CIDRs Optional / additive. Comma-separated CIDRs for the node's ingress rule (tcp 80/443). Dashboard-provisioned clusters and the dashboard-managed Web-Jump Gateway are added automatically (details); use this only for extra operator IPs and pre-existing operator Gateways. If nothing is set here and nothing is auto-discovered, the node stays closed unless Allow open is ticked. The panel shows the effective allow-list read-only.
Readiness timeout (s) Default 360. How long the deploy waits for Rancher to serve after boot; raise it for a cold image pull or a slow disk.
Verify TLS certificate Leave off for the node's self-signed cert; turn on only if you've put a real cert on it.
PRA Web Jump to the Rancher UI Opt-in zero-trust access — see PRA Web Jump.

Below that, a Settings for cloud picker switches between one field group per cloud — container image, machine size, VM name, disk size, and that cloud's Allow open opt-in. Each cloud keeps its own, so trying the node somewhere else doesn't mean re-entering everything.

That picker is a view control, not a setting. Where the node actually runs is chosen on the deploy form and recorded from where it landed — so there is one source of truth for it, and it is the node itself.

Sizes must clear Rancher's ~4 GB floor: e2-medium on GCP, t3.medium on AWS, Standard_B2s on Azure. Smaller types OOM, and the GCP path refuses the obvious ones outright.

Settings apply immediately — no restart.

Step 3 — Deploy the node

On Containers → Kubernetes (Rancher), choose the Cloud and optionally a Region (and a Zone, on GCP only) — see placement — fill the PRA access fieldset (see below), then click Deploy Rancher node. This enqueues a background job (follow it at /jobs/{job_id}) that:

  1. Creates/updates the source-restricted ingress rule (<node>-allow-mgmt, tcp 80/443) — a firewall rule on GCP, a security group on AWS, an NSG rule on Azure.
  2. Launches the VM with the privileged Rancher container and a public IP.
  3. Pins the node's public IP as Rancher's server-url.
  4. Waits for Rancher to come up, then bootstraps it and mints the API token.
  5. Completes Rancher's first-run wizard (see below) so the UI is ready to log into.
  6. If a PRA Web Jump was chosen, provisions it + vaults the admin credential.
  7. If Entitle registration is enabled, registers the node in Entitle (best-effort).

When the job completes, the tab shows the node with a RUNNING status, a clickable URL, and an Access hint. Open it (from an allowlisted IP, or via the PRA Web Jump) and log in as admin with your password (see below).

PRA access (chosen at deploy)

Like the database and cloud-VM deploys, the deploy form offers PRA pickers (populated from your PRA appliance) so you choose access at deploy/redeploy time:

The picks are persisted to config, so they're reused by later console opens.

Placement (cloud and region)

The deploy form offers a Cloud, a Region and — on GCP only — a Zone:

Rancher stays a single management plane: redeploying to a different region or a different cloud relocates the node — the old VM is deleted first so no duplicate rancher-server is stranded. The node is ephemeral, so state re-bootstraps and imported clusters must re-import. Where it landed is recorded (rancher_node_cloud plus that cloud's zone key), so teardown and later bare redeploys stay put instead of drifting back to a default.

Automatic first-run

A stock Rancher greets its first visitor with a "Welcome to Rancher — enter your bootstrap password" wizard (set a new admin password, accept the EULA, answer telemetry). On a fresh deploy the dashboard completes that for you (rancher_auto_first_run, on by default) using the API token it just minted:

The result: the operator opens the URL and lands straight on the cluster list. Log in as admin with the password shown in the Access hint (change the auto-generated one after first login). This runs only on a fresh deploy — a reused/already-set-up node is left untouched; a generated password is cleared on teardown so the next fresh deploy makes a new one. If it can't complete, the deploy still succeeds and you finish the wizard by hand once (the job note says what happened). Turn it off with rancher_auto_first_run=false for the manual wizard.