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

Restart cluster or a specified Pod #333

Closed
MegaByte875 opened this issue Oct 13, 2023 · 1 comment
Closed

Restart cluster or a specified Pod #333

MegaByte875 opened this issue Oct 13, 2023 · 1 comment
Labels
ready-for-testing Progress: ready for the CI test type/feature req Type: feature request
Milestone

Comments

@MegaByte875
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The essence of Pod restart is to restart the service process, for example, when conventional methods can no longer solve the scenario of memory leakage, the only solution is to destroy the Pod to release the occupied resources and then rebuild it.

Cluster restart can be divided into two scenarios:

Restart of all Pods under the component

  • Add a mark to trigger the component restart
  • The controller recognizes and restarts each Pod during the reconcile process
  • If the component needs to transfer state, it needs to clear the current node status before it can be rebuilt

Restart of a single Pod under the component

  • Add a mark to trigger the Pod restart
  • The controller checks whether the Pod needs to perform state transfer operations
  • Perform the delete Pod operation, the StatefulSet controller will watch and create a new Pod

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@MegaByte875 MegaByte875 added the type/feature req Type: feature request label Oct 13, 2023
@MegaByte875 MegaByte875 added this to the v1.8.x milestone Oct 13, 2023
@MegaByte875
Copy link
Contributor Author

#385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing Progress: ready for the CI test type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

1 participant