创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
虚拟机 Centos7.9 4C/8G
Kubernetes版本信息
v1.22.2 1master 2node
容器运行时
containerd 1.5.5
KubeSphere版本信息
最新版 3.3.0 在线安装
问题是什么
可插拔组件都开了,一直执行命令查看安装过程 `kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l ‘app in (ks-install, ks-installer)’ -o jsonpath=‘{.items[0].metadata.name}’) -f` 报错如下
changed: [localhost]
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=38 changed=28 unreachable=0 failed=1 skipped=72 rescued=0 ignored=0

执行命令 `kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job’ to watch logs` 报错如下
kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job
mc: <ERROR> Unable to initialize new config from the provided credentials. Get http://minio:9000/probe-bucket-sign-m2sl9k9s4dg9/?location=: dial tcp: i/o timeout.
"Failed attempts: 17"
mc: <ERROR> Unable to initialize new config from the provided credentials. Get http://minio:9000/probe-bucket-sign-2wxbppiwj2p1/?location=: dial tcp: i/o timeout.
"Failed attempts: 18"
mc: <ERROR> Unable to initialize new config from the provided credentials. Get http://minio:9000/probe-bucket-sign-6p2oqtjr419l/?location=: dial tcp: i/o timeout.
"Failed attempts: 19"
mc: <ERROR> Unable to initialize new config from the provided credentials. Get http://minio:9000/probe-bucket-sign-2hw5imnm0v3d/?location=: dial tcp: i/o timeout.
"Failed attempts: 20"
mc: <ERROR> Unable to initialize new config from the provided credentials. Get http://minio:9000/probe-bucket-sign-hlbzg1b3ayv3/?location=: dial tcp: i/o timeout.
"Failed attempts: 21"

sc信息如下 已经设置为默认存储 600G大小
[root@k8s-master01 ~]# kubectl get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
bigxing-nfs (default) nfs-bigxing-nfs Retain WaitForFirstConsumer false 5h35m
[root@nfs-server ~]# cat /etc/exports
/data 10.0.19.0/24(rw,sync,no_root_squash)
sc使用nfs,是通过kuboard中创建的

不知如何解决