• 安装部署
  • error: unable to recognize \"/etc/kubesphere/workspace.yaml\

在安装最小化安装 kubesphere 2.1.1 版本出错
TASK [ks-core/prepare : KubeSphere | Create KubeSphere workspace] **************
FAILED - RETRYING: KubeSphere | Create KubeSphere workspace (5 retries left).
FAILED - RETRYING: KubeSphere | Create KubeSphere workspace (4 retries left).
FAILED - RETRYING: KubeSphere | Create KubeSphere workspace (3 retries left).
FAILED - RETRYING: KubeSphere | Create KubeSphere workspace (2 retries left).
FAILED - RETRYING: KubeSphere | Create KubeSphere workspace (1 retries left).
fatal: [localhost]: FAILED! => {“attempts”: 5, “changed”: true, “cmd”: “/usr/local/bin/kubectl apply -f /etc/kubesphere/workspace.yaml”, “delta”: “0:00:00.571240”, “end”: “2021-02-04 06:48:52.406197”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-02-04 06:48:51.834957”, “stderr”: “error: unable to recognize \”/etc/kubesphere/workspace.yaml\": no matches for kind \“Workspace\” in version \“tenant.kubesphere.io/v1alpha1\”", “stderr_lines”: [“error: unable to recognize \”/etc/kubesphere/workspace.yaml\": no matches for kind \“Workspace\” in version \“tenant.kubesphere.io/v1alpha1\”"], “stdout”: "", “stdout_lines”: []}