How to test a manifest is valid?
Answer
with --dry-run flag which will not actually create it, but it will test it and you can find this way, any syntax issues.
k create -f YAML_FILE --dry-run
with --dry-run flag which will not actually create it, but it will test it and you can find this way, any syntax issues.
k create -f YAML_FILE --dry-run