创建部署问题时,请参考下面模板:
操作系统信息,例如:虚拟机,7.6.1810,8c15G
Kubernetes版本信息,例如:v1.18.18。多master
KubeSphere版本信息,例如:v3.1.0。离线从v3.0.0升级。已有K8s安装。
问题是什么,报错日志是什么,最好有截图。
按照https://kubesphere.com.cn/docs/upgrade/air-gapped-upgrade-with-ks-installer/ 离线安装,各组件显示正常

TASK [ks-core/init-token : KubeSphere | Creating components token] *************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl create secret generic kubesphere-secret –from-literal=token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluQGt1YmVzcGhlcmUuaW8iLCJ1c2VybmFtZSI6ImFkbWluIiwidG9rZW5fdHlwZSI6InN0YXRpY190b2tlbiJ9.tHhCnhUTtI7H8l-R4ePZQlfaweciDluHN1aoMTjBI7A –from-literal=secret=AFlqyyKPLsr4cS6zMbeTc8ROItuc2W4O -n kubesphere-system\n”, “delta”: “0:00:11.432291”, “end”: “2021-05-14 11:45:12.962319”, “failed_when_result”: true, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-05-14 11:45:01.530028”, “stderr”: “Error from server: etcdserver: request timed out”, “stderr_lines”: [“Error from server: etcdserver: request timed out”], “stdout”: "", “stdout_lines”: []}
PLAY RECAP *********************************************************************
localhost : ok=16 changed=12 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0

ks 命名空间下e t c d

集群e t c d 集群
> --net host \
> -v /etc/kubernetes:/etc/kubernetes registry.aliyuncs.com/k8sxio/etcd:3.4.3-0 etcdctl \
> --cert /etc/kubernetes/pki/etcd/peer.crt \
> --key /etc/kubernetes/pki/etcd/peer.key \
> --cacert /etc/kubernetes/pki/etcd/ca.crt \
> --endpoints https://172.31.1.37:2379 endpoint health --cluster
https://172.31.1.37:2379 is healthy: successfully committed proposal: took = 13.300771ms
https://172.31.0.231:2379 is healthy: successfully committed proposal: took = 13.813703ms
https://172.31.0.232:2379 is healthy: successfully committed proposal: took = 81.866149ms