跳转到内容

Validate and diff manifests

此内容尚不支持你的语言。

Validation checks local structure; diff compares that desired state with the live resource. A passing validation does not authorize or predict a live mutation.

Terminal window
xcsh validate -f manifests/ -R --result-file validation.json
xcsh diff -f manifests/ -R --result-file diff.json

The first command needs no application programming interface (API) credential. Run the second only after confirming the context and namespace. Read every create, update, preserve, and error entry in diff.json.

Stop on an unknown kind, duplicate identity, unexpected namespace, destructive difference, or request against the wrong context. Correct the source manifest and rerun both commands.