deck gateway ping

Uses: deck
Related Documentation
Related Resources

The deck file ping command checks that decK can contact the Admin API. This could be either the Konnect API, or an on-prem installation.

deck file ping validates both network connectivity and authentication details.

On-prem example

deck gateway ping --kong-addr https://example.com:8001

Konnect example

deck gateway ping \
  --konnect-token $KONNECT_TOKEN \
  --konnect-addr https://us.api.konghq.com \
  --konnect-control-plane-name default

Command usage

Usage:
  deck gateway ping [flags]

Flags:
  -h, --help               help for ping
  -w, --workspace string   Ping configuration with a specific Workspace (Kong Enterprise only).
                           Useful when RBAC permissions are scoped to a Workspace.

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!