Before creating an object in Kubernetes (Service, ReplicationController, etc.), I\'d like to test that the JSON or YAML specification of the object is valid. But I don\'t want t
Some kubectl commands support a --dry-run flag (like kubectl run, kubectl expose, and kubectl rolling-update).
--dry-run
There is an issue open to add the --dry-run flag to more commands.