콘텐츠로 이동

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.