labring / sealos

Sealos is a production-ready Kubernetes distribution. You can run any Docker image on sealos, start high availability databases like mysql/pgsql/redis/mongo, develop applications using any Programming language.
https://cloud.sealos.io
Apache License 2.0
14.08k stars 2.08k forks source link

BUG: add nodes after upgrading, the version installed on the newly added nodes is incorrect #4856

Closed yangxggo closed 4 months ago

yangxggo commented 4 months ago

Sealos Version

both v4.3.7 and v5.0.0_beta

How to reproduce the bug?

  1. use sealos init install k8s (version such v1.27.1);
  2. upgrade version to v1.27.5;
  3. add master or node

What is the expected behavior?

the newly added master or node install k8s v1.27.5

What do you see instead?

the newly added master or node install k8s v1.27.1

Operating environment

No response

Additional information

No matter what version of k8s you install, as long as the cluster is upgraded, when adding new masters or nodes, the new masters or nodes will be installed with the previous version.

yangxggo commented 4 months ago

/assign