-
Notifications
You must be signed in to change notification settings - Fork 105
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
Allow syncing to be disabled #118
Comments
What is the use case for this? There is already a paused key in the app spec which will pause all future reconciliations.
I'm not sure I understand this part fully. Do you mean there is some API exposed that a client can hit and trigger reconciliation? If so, I don't think we would want to do that as it would require both exposing kapp-controller to clients and would move away from declarative APIs. |
The use case would be to have more control over when changes are deployed to the cluster (e.g. only during a CI/CD run). While pausing would allow for this to a certain extent, what would the workflow look like to do this? I think it might be more intuitive to allow for users to turn off syncing such that the App is only updated in the event someone or automation through CI/CD runs
By client I am just referring to |
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response. |
Slack thread where this came up again. |
Making comments (from above thread) here as it's easier to read: We have hundreds of Applications that we use for convenience to deploy things onto our Kubernetes clusters but that don't need further reconciliation as usage of the resources might be short in time, although the App and generated resources might live in the cluster for long (until a pruning process happens). Our biggest concern is that setting a high We would want a way to do the |
@jorgemoralespou In another conversation, @100mik mentioned that @ThomasVitale uses |
Not sure what we are talking about here, but I am not sure if this was a production use case. Maybe I am misremembering. That said, if we are talking about App resources here, I do not see any reason to not take that path if it fits. |
It does not, since this is declarative application of App resources, and not imperative via a CLI. What does |
Yeah, that's what I had thought as well. It won't be much helpful in that case.
It does the same thing that kapp-controller does, but in memory, so it doesn't even require kapp-controller to be installed. |
Describe the problem/challenge you have
I would like to be able to disable syncing entirely for an App and only have that App updated by explicit request from a client.
Describe the solution you'd like
On the App spec, there should be some way to disable syncing for an App and then reconciliation only happens via a client request to kapp-controller.
The text was updated successfully, but these errors were encountered: