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

BUG: sealos reset Command Resets Entire Cluster Instead of Specified Node #5303

Open
villain6666 opened this issue Dec 24, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@villain6666
Copy link

villain6666 commented Dec 24, 2024

Sealos Version

Sealos Version: 5.0.1

How to reproduce the bug?

  1. In this environment:

    • Sealos 5.0.1 version installed.
    • Cluster consists of 5 nodes:
      • Master nodes: 192.168.37.10, 192.168.37.11, 192.168.37.12
      • Worker nodes: 192.168.37.13, 192.168.37.14
    • Using default Sealos configurations for cluster setup.
  2. With this config:

    • Default configuration with Kubernetes setup and basic network settings.
    • No custom modifications made to the Sealos configuration.
  3. Run:
    Run sealos reset --nodes 192.168.37.13 to reset only the node 192.168.37.13.

  4. See error:
    Instead of resetting just the node 192.168.37.13, the command resets the entire cluster, including master and other worker nodes. This behavior is not expected, as I only intended to reset the specified node.

What is the expected behavior?

I expect that when running sealos reset --nodes 192.168.37.13, only the node 192.168.37.13 should be reset, leaving the rest of the cluster (master and other worker nodes) intact.

What do you see instead?

Instead of resetting just the specified node 192.168.37.13, the entire cluster gets reset, including the master and other worker nodes, which is not the intended behavior.

Operating environment

- Sealos version: 5.0.1
- Docker version:
- Kubernetes version: 1.28.10
- Operating system: Ubuntu 22.04
- Runtime environment: Physical machine (16G memory, 8 core CPU, 200GB storage)
- Cluster size: 3 master, 2 node
- Additional information: No additional services like Istio or Dashboard enabled.

Additional information

  • The issue occurred when running the sealos reset --nodes command, where the reset command affected the entire cluster instead of the specified node.
  • Cluster is using default Sealos configuration with Kubernetes setup.
  • No custom configurations were applied to Sealos or Kubernetes.
@villain6666 villain6666 added the kind/bug Something isn't working label Dec 24, 2024
@villain6666 villain6666 changed the title BUG: sealos reset of the bug BUG: sealos reset Command Resets Entire Cluster Instead of Specified Node Dec 24, 2024
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
Development

No branches or pull requests

1 participant