typora/note/Joplin导出归档/devops/k8s/k3s/k3s 部署.md
2024-12-12 10:48:55 +08:00

351 B

部署 master curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -s - server
--token=Sunqi0220.
--write-kubeconfig-mode "0644"

增加 worker

curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn K3S_URL=https://192.168.110.2:6443 K3S_TOKEN=Sunqi0220. sh -