Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sealer run]check if there is a running cluster, if exist, should not mount new image. #2022

Open
VinceCui opened this issue Feb 10, 2023 · 0 comments · May be fixed by #2262
Open

[sealer run]check if there is a running cluster, if exist, should not mount new image. #2022

VinceCui opened this issue Feb 10, 2023 · 0 comments · May be fixed by #2262
Assignees
Labels
kind/bug Something isn't working

Comments

@VinceCui
Copy link
Collaborator

What happen?

对于一个已经部署了集群镜像A的集群1,如果再次运行集群镜像B,那么sealer目前不会检查,然后直接mount了集群镜像B,可能就将镜像A的文件冲掉了。

For a cluster 1 that has already deployed cluster-image A, if cluster-image B is run again, the sealer will directly mounts cluster image B without checking, and then may overwrite the file of image A.

Relevant log output?

No response

What you expected to happen?

我希望sealer run时,会提前检查是否有已经部署的集群镜像,如果有,且版本不一致,那么报错,如果版本一致,那么跳过。如果没有,正常安装

I hope that when the sealer runs, it will check whether there is a deployed cluster image. If there is, and the version is not equal, then throw an error. If the version is equal, then skip. If not, install normally

How to reproduce it (as minimally and precisely as possible)?

No response

Anything else we need to know?

No response

What is the version of Sealer you using?

No response

What is your OS environment?

No response

What is the Kernel version?

No response

Other environment you want to tell us?

  • Cloud provider or hardware configuration:
  • Install tools:
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
3 participants