davidmdm / yoke

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yoke turbulence: add a recreate option

davidmdm opened this issue · comments

Feature Request
We should be able to restore a release's resource state.

Context
Currently when fixing turbulence, yoke looks for conflicts between desired and current state. However it does not know what to do about additional state, either added manually by users or by other controllers. In some contexts it is desirable to reset the release state completely.

Proposed solution
Add a recreate flag to fix turbulence. This operation would be destructive, removing resources and recreating them. Perhaps a secondary flag or confirmation prompt would be necessary, as such an operation could cause application downtime.

# add a -confirm flag
yoke tubulence -recreate foo

This operation is destructive; do you wish to continue? (y/N)