在安装KubeSphere时,首先我把所有的镜像都docker pull到本地,然后install.sh进行安装,因为是单点所以选择1,再往下就是yes,并选择安装在本地(Local Volume)。
结果在安装中一直报错
TASK [plugins/NFS-Client : NFS-Client | Get nfs archiveOnDelete] *********************************************************************************************
Monday 16 March 2020 17:12:10 +0800 (0:00:00.324) 0:00:57.627 **********
changed: [ks-allinone]
TASK [plugins/NFS-Client : NFS-Client | Set nfs archiveOnDelete] *********************************************************************************************
Monday 16 March 2020 17:12:10 +0800 (0:00:00.249) 0:00:57.876 **********
ok: [ks-allinone]
TASK [plugins/NFS-Client : NFS-Client | Deploy NFS-Client] ***************************************************************************************************
Monday 16 March 2020 17:12:11 +0800 (0:00:00.071) 0:00:57.947 **********
fatal: [ks-allinone]: FAILED! => {
“changed”: true,
“cmd”: “/usr/local/bin/helm upgrade –install nfs-client /etc/kubernetes/addons/nfs-client-provisioner –set nfs.server=10.26.29.140 –set nfs.path=/mnt/shared_dir –set storageClass.defaultClass=False –set storageClass.archiveOnDelete=false –namespace kube-system”,
“delta”: “0:00:00.215266″,
“end”: “2020-03-16 17:12:11.367123″,
“rc”: 1,
“start”: “2020-03-16 17:12:11.151857”
}
STDOUT:
UPGRADE FAILED
Error: “nfs-client” has no deployed releases
STDERR:
Error: UPGRADE FAILED: “nfs-client” has no deployed releases
MSG:
non-zero return code
PLAY RECAP ***************************************************************************************************************************************************
ks-allinone : ok=232 changed=14 unreachable=0 failed=1
Monday 16 March 2020 17:12:11 +0800 (0:00:00.356) 0:00:58.304 **********
download : container_download | Download image if required ( gcr.azk8s.cn/google_containers/metrics-server-amd64:v0.3.1 ) —————————– 5.13s
plugins/NFS-Client : NFS-Client | Getting NFS-Client files ——————————————————————————————– 3.29s
prepare/nodes : pip | Installing pip —————————————————————————————————————— 3.25s
download : Download items —————————————————————————————————————————– 2.14s
download : Sync container —————————————————————————————————————————– 1.11s
plugins/CephRBD : Ceph RBD | Creating manifests ——————————————————————————————————- 0.87s
download : Download items —————————————————————————————————————————– 0.85s
download : Sync container —————————————————————————————————————————– 0.83s
download : Sync container —————————————————————————————————————————– 0.78s
download : Download items —————————————————————————————————————————– 0.76s
plugins/LocalVolume : openebs | Creating manifests —————————————————————————————————- 0.69s
prepare/nodes : GlusterFS | Installing glusterfs-client (YUM) —————————————————————————————– 0.56s
prepare/nodes : Installing epel-release (YUM) ——————————————————————————————————— 0.53s
prepare/nodes : Copy get-pip.py ———————————————————————————————————————– 0.48s
download : Register docker images info —————————————————————————————————————- 0.36s
plugins/LocalVolume : openebs | Creating openebs —————————————————————————————————— 0.36s
plugins/NFS-Client : NFS-Client | Deploy NFS-Client ————————————————————————————————— 0.36s
plugins/CephRBD : Ceph RBD | Creating admin secret —————————————————————————————————- 0.35s
plugins/GlusterFS : GlusterFS Provisioner | Creating manifests —————————————————————————————- 0.34s
plugins/CephRBD : Ceph RBD | Creating StorageClass —————————————————————————————————- 0.34s
failed!
please refer to https://kubesphere.io/docs/v2.1/zh-CN/faq/faq-install/
麻烦哪位大神帮忙指点一下,该如何处理这个问题,谢谢。