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
.