decK can operate on a subset of configuration instead of managing a complete Kong Gateway configuration. To do this, decK tags each entity with a value, and ignores any resources that don’t have that tag when running deck gateway dump
or deck gateway sync
.
Common use cases for splitting your configuration across multiple files include:
- Managing Consumers separately from your Service, Route, and Plugin configuration
- Allowing each Service owner to manage their own configuration
- Splitting large configuration files to reduce the time it takes to run
deck gateway sync
When multiple tags are specified in decK, decK AND
s those tags together, meaning only entities containing all the tags will be managed by decK. You can specify a combination of up to 5 tags, but we recommend using fewer for performance reasons.