KubernetesCommand
Check Changes Before Applying
Type this command
kubectl diff -f ./my-manifest.yamlDiffs the cluster against the manifest without applying anything.
The Kubernetes command to check changes before applying is kubectl diff -f ./my-manifest.yaml.
kubectl diff -f ./my-manifest.yamlkubectl diff -f ./my-manifest.yamlDiffs the cluster against the manifest without applying anything.
Run kubectl diff -f ./my-manifest.yaml.
Run kubectl diff -f ./my-manifest.yaml.
Type it in the terminal or command-line interface used by Kubernetes.
Yes. The command text is the same on both platforms when the tool is installed.