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

[Features] Support Pause and Resume Reconcilation of a Cluster #6969

Open
shanshanying opened this issue Apr 3, 2024 · 1 comment · May be fixed by #7435
Open

[Features] Support Pause and Resume Reconcilation of a Cluster #6969

shanshanying opened this issue Apr 3, 2024 · 1 comment · May be fixed by #7435

Comments

@shanshanying
Copy link
Contributor

 kubectl rollout pause --help
Mark the provided resource as paused.

 Paused resources will not be reconciled by a controller. Use "kubectl rollout resume" to resume a paused resource.
Currently only deployments support being paused.

kubectl supports pause and resume reconcliation of a resource. But only for deployment.
In KubeBlocks, we can support pause/resume recocliation of a Cluster (and resources owned by cluster, such as component, config controller)
We can mark a Cluster as paused by adding an annotation, or update a field, etc.

In KB we have a const for such purpose but it seems it is never used:

	// annotation keys
	ControllerPaused     = "controller.kubeblocks.io/controller-paused"
Copy link

github-actions bot commented May 6, 2024

This issue has been marked as stale because it has been open for 30 days with no activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants