-
Notifications
You must be signed in to change notification settings - Fork 0
k3sDeploy
NewYoung edited this page Aug 22, 2020
·
3 revisions
- 创建一个registries.yaml 包含以下内容,存放于所有集群节点机器/etc/rancher/k3s/
mirrors: docker.io: endpoint: - "http://nexus_ip:docker_port"
- 拷贝下载依赖到集群节点所有机器上
k3s to /usr/local/bin/k3s k3s-airgap-images-amd64.tar to /var/lib/rancher/k3s/agent/images/
- 复制安装 脚本 到每台节点机器上
- 预设定token,后续确保其他节点能正确连接到该集群
- 执行安装脚本安装第一台主节点
- 安装另外几台主节点