创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:云服务器,Ubuntu22,2C/4G
Kubernetes版本信息
将 kubectl version 命令执行结果贴在下方
root@node1:~# kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version –short. Use –output=yaml|json to get the full version.
Client Version: version.Info{Major:“1”, Minor:“27”, GitVersion:“v1.27.4”, GitCommit:“fa3d7990104d7c1f16943a67f11b154b71f6a132”, GitTreeState:“clean”, BuildDate:“2023-07-19T12:20:54Z”, GoVersion:“go1.20.6”, Compiler:“gc”, Platform:“linux/amd64”}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:“1”, Minor:“27”, GitVersion:“v1.27.4”, GitCommit:“fa3d7990104d7c1f16943a67f11b154b71f6a132”, GitTreeState:“clean”, BuildDate:“2023-07-19T12:14:49Z”, GoVersion:“go1.20.6”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
将 docker version / crictl version / nerdctl version 结果贴在下方
root@node1:~# crictl version
Version: 0.1.0
RuntimeName: containerd
RuntimeVersion: v1.7.13
RuntimeApiVersion: v1
KubeSphere版本信息
在线安装。使用kk安装。
问题是什么
报错日志是什么,最好有截图。
upgrade.go:487: 2026-02-13 11:45:29.075473707 +0000 UTC m=+318.433048444 [debug] warning: Upgrade “ks-core” failed: pre-upgrade hooks failed: 1 error occurred:
\* timed out waiting for the condition
Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred:
\* timed out waiting for the condition
helm.go:92: 2026-02-13 11:45:29.339296675 +0000 UTC m=+318.696871382 [debug] pre-upgrade hooks failed: 1 error occurred:
\* timed out waiting for the condition
UPGRADE FAILED
main.newUpgradeCmd.func2
helm.sh/helm/v3/cmd/helm/upgrade.go:244
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.9.1/command.go:1015
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.9.1/command.go:1148
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.9.1/command.go:1071
main.main
helm.sh/helm/v3/cmd/helm/helm.go:91
runtime.main
runtime/proc.go:283
runtime.goexit
runtime/asm_amd64.s:1700
