kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

Unable to upgrade from v3.2.1 to 3.3.0

Open strahe opened this issue 2 years ago • 4 comments

What is version of KubeKey has the issue?

2.2.0

What is your os environment?

ubuntu 18.04

KubeKey config file

No response

A clear and concise description of what happend.

图片

It seems that kk installer does not have a corresponding tag.

Relevant log output

No response

Additional information

No response

strahe avatar Jun 12 '22 04:06 strahe

please specify the rc version of kubesphere --with-kubesphere v3.3.0-rc.2 Because the official version of ks v3.3.0 has not been release.

24sama avatar Jun 12 '22 14:06 24sama

v3.3.0-rc.1 upgrade

./kk upgrade -f config-sample.yaml --with-kubesphere v3.3.0-rc.2
Unsupported upgrade plan: v3.3.0 to v3.3.0-rc.2
16:51:08 CST failed: [m]
error: Pipeline[UpgradeClusterPipeline] execute failed: Module[ClusterPreCheckModule] exec failed: 
failed: [m] [DependencyCheck] exec failed after 3 retires: Unsupported upgrade plan: v3.3.0 to v3.3.0-rc.2

exuan avatar Jun 13 '22 08:06 exuan

3.3.0-rc.0 upgrade

./kk upgrade -f config-sample.yaml --with-kubesphere v3.3.0-rc.2
Unsupported upgrade plan: v3.3.0 to v3.3.0-rc.2
16:51:08 CST failed: [m]
error: Pipeline[UpgradeClusterPipeline] execute failed: Module[ClusterPreCheckModule] exec failed: 
failed: [m] [DependencyCheck] exec failed after 3 retires: Unsupported upgrade plan: v3.3.0 to v3.3.0-rc.2

This is expected. To avoid triggering the upgrade kubesphere when upgrading only k8s. You can manually modify the ks-installer image's tag and labels.

24sama avatar Jun 13 '22 08:06 24sama

thanks, i try this

exuan avatar Jun 13 '22 09:06 exuan