kcp state version
kcp state version¶
Report the metadata of a kcp-state.json file
Synopsis¶
Reads only the top-level metadata of a state file (schema version, KCP build, created/updated timestamps, migration provenance) using lenient JSON parsing, so it works on state files from any KCP version — even ones that cannot be fully loaded by the current build.
Examples¶
# Report the schema version and build metadata of a state file
kcp state version --state-file kcp-state.json
Options¶
Options inherited from parent commands¶
SEE ALSO¶
- kcp state - Operate on kcp-state.json files