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

opt: remove --masters and --nodes options for reset #5148

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

yangxggo
Copy link
Contributor

Remove --masters and --nodes options for command sealos reset.

There is no need to provide the masters and nodes options to the reset command, because even if you specify master or node, the reset command will still reset all hosts in the entire cluster.

At the same time, it is necessary to force a check on whether the Clusterfile exists. When it does not exist, an error is reported and the process exits.

Signed-off-by: yangxg <yangxggo@163.com>
@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented Oct 11, 2024

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 2169
✅ Successful 497
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 1670
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Signed-off-by: yangxg <yangxggo@163.com>
@cuisongliu cuisongliu merged commit 5b27a38 into labring:main Oct 15, 2024
81 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants