Multipass Use Case¶
multipass is the preferred local validation path for a multi-node Productive K3S environment.
What it builds¶
1server VM2agent VMs- shared
stackinstalled on the server after the cluster is assembled
Main commands¶
make -C use-cases/multipass infra-up
make -C use-cases/multipass cluster-up
make -C use-cases/multipass up
make -C use-cases/multipass validate
make -C use-cases/multipass status
make -C use-cases/multipass down
make -C use-cases/multipass clean
What make up does¶
- Launches the three VMs through
OpenTofuand Multipass. - Renders generated metadata from the live VM IPs.
- Prepares a
productive-k3sbundle fromlocalorremotesource. - Runs
servermode on the first node. - Captures the server join token.
- Runs
agentmode on the remaining nodes. - Synchronizes Rancher and registry aliases inside the VMs.
- Runs
stackmode on the server. - Validates node readiness, core namespaces, ingress reachability, and storage defaults.
Notes¶
Note
This use case does not currently update /etc/hosts on the control machine. Rancher and registry hostnames are guaranteed inside the VMs, not automatically on the host.
Note
A first Rancher install on a cold cluster can spend several minutes in ContainerCreating while images are pulled.
Note
This is the best public path when you want to exercise the split server and agent model locally.