tazuna state diff
Compares the Build result of each Manager with the State stored in the cluster and outputs per-resource differences. Does not modify the cluster.
tazuna state diff [-f tazuna.yaml]
Behavior
- Load
tazuna.yaml. - For each Manifest, call the Manager’s Build to construct “the resources that should currently be generated from
tazuna.yaml.” - Reconcile with the in-cluster State and classify each resource into one of the following.
| Diff type | Meaning |
|---|---|
added | Present in the Build result, absent from State |
modified | Present in both, but with different content hashes |
removed | Present in State, absent from the Build result |
always-sync | Classification that skips diff computation and is always synchronized. Secrets derived from type: genesissecret go here |
Does not evaluate context_matches. Only read access to the cluster is performed; nothing is modified.
Flag
No specific flags besides the global flags.
Examples
tazuna state diff
tazuna state diff -f tazuna.yaml
Related
- Apply:
tazuna state sync - For the full rendering result, see
tazuna build - Terminology: Diff type / ContentHash