davidmdm / yoke

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Resource Drift Detection

davidmdm opened this issue · comments

Feature Request

Yoke should be able to provide drift detection between the desired release revision state and the current state of the cluster.

Currently we are able to get the diff between two different revisions, which is useful for visualizing what changed, but does not guard you against changes that users can make manually to the cluster.

Proposed implementation

I propose we add a new command:

yoke turbulence <release-name> # alternate name: wake?

This command would look up current revision state and compare every resource in the revision to its state in the cluster and show the diff.

The command should have a flag to fix the drift:

yoke turbulence -clear <release-name>