kubectl diff

Diff configurations specified by filename or stdin between the current online configuration, and the configuration as it would be if applied


-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, --recursiveProcess 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-conflictsIf true, server-side apply will force the changes against conflicts
--server-sideIf true, apply runs in the server instead of the client