-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Pause and Resume watch/reconcile of custom resource by helm-operator #5803
Comments
@sukhil-suresh Unfortunately, we don't have this feature in Helm operators. The available set of annotations for Helm operators are here: https://sdk.operatorframework.io/docs/building-operators/helm/reference/advanced_features/annotations/. |
@varshaprasad96 Thanks for sharing the annotations supported by the Helm operator. We have an (untested) workaround for the problem we faced, which involves updating the operand spec to have support for the deployment replica. The assumption is that the helm operator will respect the operand spec value change. Feel free to close the issue, if needed. I still believe there is value in an annotation that allows pause/resume of the helm-based operator reconciliation. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/close |
@sukhil-suresh: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Feature Request
Describe the problem you need a feature to resolve.
For a particular scenario, we temporarily scale down a deployment (which is part of our product) by updating the replica value to zero in the spec. However, it seems the helm-operator-controller interferes with this and scales it back up to the replica count set for the operand install.
Describe the solution you'd like.
It would be very helpful if the helm controller could temporarily pause reconciliation for a resource and then resume later. Maybe this could be triggered by a
paused
annotation on the resource?The
operator-lib
project has support for such a feature - operator-framework/operator-lib#60If such a feature already exists for the
helm-operator
, kindly guide us with the related resource./language helm
The text was updated successfully, but these errors were encountered: