创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
虚拟机 Centos7.9,4C/4G
Kubernetes版本信息
v1.20.15。多节点。
容器运行时
使用 docker,23.01
KubeSphere版本信息
例如:v3.1.1。在线安装。全套安装。
问题是什么
[root@master kbsup]# ./kk upgrade –with-kubernetes v1.21.5 –with-kubesphere v3.2.1
| | / / | | | | / /
| |/ / _ _| |__ ___| |/ / ___ _ _
| \| | | | '_ \ / _ \ \ / _ \ | | |
| |\ \ || | |) | __/ |\ \ __/ |_| |
\| \/\,|./ \\| \/\|\__, |
__/ |
|___/
00:14:31 CST [NodePreCheckModule] A pre-check on nodes
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Get KubeConfig file
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Get all nodes Kubernetes version
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Calculate min Kubernetes version
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Check desired Kubernetes version
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Check KubeSphere version
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Check dependency matrix for KubeSphere and Kubernetes
00:14:31 CST success: [master]
00:14:31 CST [ClusterPreCheckModule] Get kubernetes nodes status
00:14:31 CST success: [master]
00:14:31 CST [UpgradeConfirmModule] Display confirmation form
+——–+——+——+———+———-+——-+——-+———–+——–+——–+————+————-+——————+————–+
| name | sudo | curl | openssl | ebtables | socat | ipset | conntrack | chrony | docker | nfs client | ceph client | glusterfs client | time |
+——–+——+——+———+———-+——-+——-+———–+——–+——–+————+————-+——————+————–+
| master | y | y | y | y | y | y | y | y | 23.0.1 | y | | | CST 00:14:31 |
+——–+——+——+———+———-+——-+——-+———–+——–+——–+————+————-+——————+————–+
panic: illegal version string “23..1”
goroutine 168 [running]:
k8s.io/apimachinery/pkg/util/version.MustParseSemantic({0xc0000506a0, 0×6})
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/version/version.go:119 +0x45
github.com/kubesphere/kubekey/pkg/bootstrap/confirm.(*UpgradeConfirm).Execute(0xc000660138, {0×257c0c0, 0xc00004f980})
/home/runner/work/kubekey/kubekey/pkg/bootstrap/confirm/tasks.go:185 +0xa7f
github.com/kubesphere/kubekey/pkg/core/task.(*LocalTask).ExecuteWithRetry(0xc0000c1290, {0×257c0c0, 0xc00004f980}, {0×2584d48, 0xc0000c1340})
/home/runner/work/kubekey/kubekey/pkg/core/task/local_task.go:203 +0x137
github.com/kubesphere/kubekey/pkg/core/task.(*LocalTask).Run(0xc0000c1290, {0×257c0c0, 0xc00004f980}, {0×2584d48, 0xc0000c1340}, 0xc0000de080)
/home/runner/work/kubekey/kubekey/pkg/core/task/local_task.go:157 +0x225
created by github.com/kubesphere/kubekey/pkg/core/task.(*LocalTask).RunWithTimeout
/home/runner/work/kubekey/kubekey/pkg/core/task/local_task.go:119 +0x16f
