File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ provision:
42
42
#!/bin/sh
43
43
# To install a worker node, fill in and uncomment this line:
44
44
#export K3S_TOKEN=xxx K3S_URL=https://server-url:6443
45
+ # To get the token to use for the variable, run this command:
46
+ # $ limactl shell k3s sudo cat /var/lib/rancher/k3s/server/node-token
45
47
curl -sfL https://get.k3s.io | sh -
46
48
47
49
probes :
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ provision:
98
98
set -eux -o pipefail
99
99
# To install a worker node, fill in and uncomment this line:
100
100
#export K8S_URL=server-url:6443 K8S_TOKEN=xxx K8S_HASH=sha256:<hash>
101
+ # To get the token to use for the variable, run this command:
102
+ # $ limactl shell k8s sudo kubeadm token create --print-join-command
101
103
if [ -n "${K8S_TOKEN:-}" ]; then
102
104
# WORKER NODE
103
105
test -e /etc/kubernetes/kubelet.conf && exit 0
You can’t perform that action at this time.
0 commit comments