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

Provide mechanism for seeing what will change when a cluster or resource is inlocked #156

Open
gregswift opened this issue Oct 5, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@gregswift
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Right now when you lock a cluster or resource, you don't have an easy way to determine what will change when you unlock it. In the puppet/chef world you would do a dry run and get a list of all the intended changed resources that you can review before doing a real run of their agents.

Describe the solution you'd like
In an ideal world we would run a command/API call and get a detailed output with a full list of resources and what specifically will change on the next run of the controllers. This would match puppet/chef behavior.

Describe alternatives you've considered
Talking with @alewitt2 it seems a doable version of this is to have the controllers continue to process things as usual, and but when a cluster or resource is locked the controller would just record that they "want" to change a resource instead of changing it. The end users could then take that list and look at the current resource and whatever is providing the newest resource and figure out the changes for themselves.

@alewitt2 alewitt2 added the enhancement New feature or request label Oct 5, 2020
@gregswift
Copy link
Contributor Author

I just had a very interesting idea. Why not update an annotation like deploy.razee.io/pending-application ?

Then when it is unlocked, and you apply, it gets removed.

That would be slick, and probably not require a whole new model and storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants