-
Notifications
You must be signed in to change notification settings - Fork 40k
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
RFC: Inert deployments #14516
Comments
If a deployment is inert, it would be desirable to do exactly one rev of the controller loop for that deployment - i.e. "PUT /deployments/foo/instantiate". That covers the use case of "I don't want automatic deployments, I want them automatic when I trigger" |
It's not obvious to me what this has to do specifically with config change triggering. |
Inert deployments combined with the inherent design of the deployment controller seem to provide config change trigger functionality without needing to introduce the concept of a "config change trigger" as defined in OpenShift. |
Related: #7242 |
A couple of questions:
|
Should "PUT /deployments/foo/instantiate" work only on inert or in every deployment? I would guess the latter. |
I believe every is correct - It would simply be a no-op if the deployment On Fri, Dec 18, 2015 at 11:42 AM, Michail Kargakis <notifications@github.com
|
Now it's obvious. lol. |
The deployment design (#1743) implicitly supports a deployment triggering use case known as "config change triggering" in OpenShift: when a new deployment state is observed, the cluster works to realize the new state as soon as possible. There is one functional gap in this design: users sometimes need to temporarily disable a deployment. This could be accomplished by allowing deployments to be "inert". Some uses for inert deployments:
Technically these use cases are satisfied by simply deleting the deployment resource and recreating it when ready, but that places a burden on the user to preserve the old state until it's ready to be recreated.
The text was updated successfully, but these errors were encountered: