Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
k3s installation
curl -sfL | sh -
k3s kubectl get nodes
The kubeconfig is stored at
cat /etc/rancher/k3s/k3s.yaml
To join other nodes to the cluster
cat /var/lib/rancher/k3s/server/node-token
export K3S_TOKEN=
export K3S_URL=https://<IP Address:6443>
curl -sfL | sh -
Uinstall ks3
For agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment