kubectl diff
Diff configurations specified by filename or stdin between the current online configuration, and the configuration as it would be if applied
Options
Name | Description |
---|---|
-f, --filename <File> | Filename, directory, or URL to files identifying the resource |
-k, --kustomize <Kustomize Dir> | Process the kustomization directory. This flag can't be used together with -f or -R |
-R, --recursive | Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory |
--field-manager <Field Manager> | Name of the manager used to track field ownership |
--force-conflicts | If true, server-side apply will force the changes against conflicts |
--server-side | If true, apply runs in the server instead of the client |