For a multi-node configuration, you run the
setup.sh
script on the primary node, specifying the number of nodes in the cluster and the block device to use for storage. You run the
setup.sh
script on the secondary nodes to prepare them for integration into the cluster, run microk8s on the primary node to get a token for each secondary node, and then run microk8s on the secondary nodes, passing each a different token. After the nodes have joined the cluster, you run
setup.sh
on each of the secondary nodes to set up their block storage device, and run
setup.sh
on the primary node to finalize the cluster. Finally, you run the installer on the primary node.