k3s-安装k3s

文章目录
  1. 1. 安装
  2. 2. 参考文章

安装

有国外代理服务器的,可以直接执行这个命令即可:

1
curl -sfL https://get.k3s.io | sh -

如果没有国外代理的,可以使用国内的镜像:

1
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -

参考文章

https://k3s.io/
https://docs.rancher.cn/docs/k3s/quick-start/_index

离线安装参考:
https://docs.rancher.cn/docs/k3s/installation/airgap/_index