通过执行以下命令安装v3.0.0
root@k8s-master:~# ./kk create cluster -f config-sample.yaml
安装完成后报错
TASK [common : Kubesphere | Deploy minio] **************************************
E0322 10:31:15.075278 1 reflector.go:284] pkg/mod/k8s.io/client-go@v0.0.0-20190411052641-7a6b4715b709/tools/cache/reflector.go:99: Failed to watch *unstructured.Unstructured: Get “https://10.233.0.1:443/apis/installer.kubesphere.io/v1alpha1/namespaces/kubesphere-system/clusterconfigurations?fieldSelector=metadata.name%3Dks-installer&resourceVersion=1485&timeoutSeconds=499&watch=true”: dial tcp 10.233.0.1:443: connect: connection refused
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm upgrade –install ks-minio /kubesphere/kubesphere/minio-ha -f /kubesphere/kubesphere/custom-values-minio.yaml –set fullnameOverride=minio –namespace kubesphere-system –wait –timeout 1800s\n”, “delta”: “0:10:38.836738”, “end”: “2021-03-22 10:31:15.107384”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-03-22 10:20:36.270646”, “stderr”: “Error: Get https://10.233.0.1:443/api/v1/namespaces/kubesphere-system/persistentvolumeclaims/minio: dial tcp 10.233.0.1:443: connect: connection refused”, “stderr_lines”: [“Error: Get https://10.233.0.1:443/api/v1/namespaces/kubesphere-system/persistentvolumeclaims/minio: dial tcp 10.233.0.1:443: connect: connection refused”], “stdout”: "Release \“ks-minio\” does not exist. Installing it now.", “stdout_lines”: ["Release \“ks-minio\” does not exist. Installing it now."]}
…ignoring
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”
]
}