sealer icon indicating copy to clipboard operation
sealer copied to clipboard

upgrade kubernetev1.20.15 to v1.21.12 faild

Open clcc2019 opened this issue 2 years ago • 5 comments

What happened:

upgrade kubernetev1.20 to v1.21.12

image

v1.20.15 sea.hub no coredns:v1.8.0 image,v1.21.12 have

clcc2019 avatar May 19 '22 03:05 clcc2019

coredns imageRepository: image image

clcc2019 avatar May 19 '22 03:05 clcc2019

The coredns image path is changed to 'core' to 'coredns/coredns' in the v1.21 version, and the same is true in our ${rootfs}/etc/kubeadm.yml file for versions above v1.21, but the image path obtained by upgrade defaults to core, so I think the upgrade needs to specify the config file: kubeadm upgrade ${version} --config ${rootfs}/etc/kubeadm.yml. https://github.com/sealerio/sealer/blob/40103504d817a5e698220dea028fd50d177acc67/pkg/runtime/upgrade.go#L65

bxy4543 avatar May 19 '22 06:05 bxy4543

If you want to develop this feature, please reply to this issue first and we will assign the task to you.

contributing guide

github-actions[bot] avatar May 19 '22 06:05 github-actions[bot]

I will try to fix it this weekend.

shy-Xu avatar Jun 14 '22 08:06 shy-Xu

Would you please tell us the CloudImage you use? both v1.20.15 and v1.21.12 I want to test whether this problems is fixed @clcc2019

shy-Xu avatar Jun 23 '22 09:06 shy-Xu