deck gateway validate

Uses: decK
Related Documentation
Related Resources

The deck gateway validate command reads one or more declarative state files and ensures validity. It reports YAML/JSON parsing issues, checks for foreign relationships, and alerts if there are broken relationships or missing links present.

This command also validates against the Admin API via communication with Kong Gateway. This increases the time for validation but catches significant errors. No resource is created in Kong Gateway.

For offline validation, see deck file validate.

Validate specific entities

The deck gateway validate command may take a long time to check all entities if you have a large state file.

To reduce this time, you can provide the --online-entities-list flag and specify specific entities to validate. For example:

deck gateway validate --online-entities-list Plugins kong.yaml
Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!