k3s初接觸
集群化作業
curl -sfL https://get.k3s.io | sh -
k3s kubectl get node curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -export K3S_URL="https://ip address:6443"export K3S_TOKEN="token"cat /var/lib/rancher/k3s/server/node-tokenLast updated