3.0.0版本安装无问题:
3.1.0版本安装NFS遇到问题:
安装配置信息:
addons:
- name: nfs-client
namespace: kube-system
sources:
chart:
name: nfs-client-provisioner
repo: https://charts.kubesphere.io/main
values:
- nfs.server=sfs-nas10.cn-north-1b.myhuaweicloud.com
- nfs.path=/share-4free329
- storageClass.defaultClass=false
安装到开始初始化KubeSphere后,安装无响应。
查看安装日志如下:
TASK [common : debug] **********************************************************
ok: [localhost] => {
“msg”: [
“1. check the storage configuration and storage server”,
“2. make sure the DNS address in /etc/resolv.conf is available”,
“3. execute ‘kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job’ to watch logs”,
“4. execute ‘helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job’”,
“5. Restart the installer pod in kubesphere-system namespace”
]
}
TASK [common : fail] ***********************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “It is suggested to refer to the above methods for troubleshooting problems .”}
PLAY RECAP *********************************************************************
localhost : ok=41 changed=27 unreachable=0 failed=1 skipped=80 rescued=0 ignored=0
kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job
C
[root@master1 ~]# kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job
[root@master1 ~]# helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job
release “ks-minio” uninstalled
Error from server (NotFound): jobs.batch “minio-make-bucket-job” not found
- 以上NFS路径可PING通。
- /etc/resolv.conf中的servername 的所有IP地址,可ping通。
请问这个NFS的配置有什么问题么?可能是什么原因导致以上问题的呢。