1 下载kubesphere3.0.0离线安装包
curl -Ok https://kubesphere-installer.pek3b.qingstor.com/offline/v3.0.0/kubesphere-all-v3.0.0-offline-linux-amd64.tar.gz
解压kubesphere-all-v3.0.0-offline-linux-amd64.tar.gz后进入执行kk命令
tar -zxvf kubesphere-all-v3.0.0-offline-linux-amd64.tar.gz
cd kubesphere-all-v3.0.0-offline-linux-amd64
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.18.6
修改config-sample.yaml配置文件
执行内部镜像仓库源
./kk init os -f config-sample.yaml -s ./dependencies/ --add-images-repo
提示信息如下:
INFO[17:41:00 CST] Init operating system
INFO[17:41:00 CST] Start initializing kubesphere-master03 [192.168.3.103] node=192.168.3.103
INFO[17:41:00 CST] Start initializing kubesphere-master01 [192.168.3.101] node=192.168.3.101
INFO[17:41:00 CST] Start initializing kubesphere-master02 [192.168.3.102] node=192.168.3.102
Push /root