deck gateway apply

Uses: deck
Related Documentation
Related Resources

The deck gateway apply command creates or updates entities in Kong Gateway without deleting any existing configuration. deck gateway apply is useful when building your configuration incrementally. For example:

echo '_format_version: "3.0"
services:
- name: example-service
  url: http://httpbin.konghq.com' | deck gateway apply

We recommend using deck gateway dump to back up the complete configuration to a file once you have finished iterating on your configuration. This file can then be used with deck gateway sync.

Command usage

Usage:
  deck gateway apply [flags] [kong-state-files...]

Flags:
      --db-update-propagation-delay db_update_propagation   artificial delay (in seconds) that is injected between insert operations 
                                                            for related entities (usually for Cassandra deployments).
                                                            See db_update_propagation in kong.conf.
  -h, --help                                                help for apply
      --json-output                                         generate command execution report in a JSON format
      --parallelism int                                     Maximum number of concurrent operations. (default 10)
      --silence-events                                      disable printing events to stdout
  -w, --workspace string                                    Apply configuration to a specific workspace (Kong Enterprise only).
                                                            This takes precedence over _workspace fields in state files.

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!