创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
将 kubectl version 命令执行结果贴在下方
容器运行时
将 docker version / crictl version / nerdctl version 结果贴在下方
KubeSphere版本信息
v3.4.1
在阿里云ACK K8s上安装,使用install.yml安装后不行,于是使用脚本卸载准备重新安装。但是执行卸载脚本,重新安装步骤安装时出现一下错误。
问题是什么
TASK [ks-core/ks-core : KubeSphere | Creating ks-core] *************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install ks-core /kubesphere/kubesphere/ks-core/ -f /kubesphere/kubesphere/ks-core/custom-values-ks-core.yaml --namespace kubesphere-system\n", "delta": "0:00:02.515544", "end": "2024-01-15 21:03:46.214699", "msg": "non-zero return code", "rc": 1, "start": "2024-01-15 21:03:43.699155", "stderr": "Error: serviceaccounts \"kubesphere-router-serviceaccount\" is forbidden: unable to create new content in namespace kubesphere-controls-system because it is being terminated", "stderr_lines": ["Error: serviceaccounts \"kubesphere-router-serviceaccount\" is forbidden: unable to create new content in namespace kubesphere-controls-system because it is being terminated"], "stdout": "Release \"ks-core\" does not exist. Installing it now.", "stdout_lines": ["Release \"ks-core\" does not exist. Installing it now."]}
PLAY RECAP *********************************************************************
localhost : ok=21 changed=14 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0
