-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Labels
Milestone
Description
Lines 13 to 22 in cb0e125
| # A multi-node cluster can be created by starting multiple instances of this template | |
| # connected via the `lima:user-v2` network. | |
| # | |
| # $ limactl start --name k8s-0 --network lima:user-v2 template:k8s | |
| # $ limactl shell k8s-0 sudo kubeadm token create --print-join-command | |
| # (The join command printed here) | |
| # | |
| # $ limactl start --name k8s-1 --network lima:user-v2 template:k8s | |
| # $ limactl shell k8s-1 sudo bash -euxc "kubeadm reset --force ; ip link delete cni0 ; ip link delete flannel.1 ; rm -rf /var/lib/cni /etc/cni" | |
| # $ limactl shell k8s-1 sudo <JOIN_COMMAND_FROM_ABOVE> |
Params should be used instead of requiring kubeadm reset to reset worker nodes.
A previous attempt: