Admin API 연결 확인 명령어
Admin API 연결 확인 명령어 (deck gateway ping)
deck gateway ping 명령어는 decK가 Admin API에 제대로 연결되는지 확인해줘요. 온프레미스 Kong 설치든 Konnect API든 상관없이 네트워크 연결과 인증 정보를 한 번에 검증해주니까, sync 같은 작업을 하기 전에 연결 상태를 점검할 때 유용해요. 이 문서에서는 온프레미스와 Konnect 환경에서의 실행 예시와 명령어 플래그 사용법을 소개해요
출처: 문서
본문
deck gateway ping은 네트워크 연결과 인증 정보를 모두 검증해요.
온프레미스 예시
deck gateway ping --kong-addr https://example.com:8001
Konnect 예시
deck gateway ping \
--konnect-token $KONNECT_TOKEN \
--konnect-addr https://us.api.konghq.com \
--konnect-control-plane-name default
명령어 사용법
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.
관련 리소스
더 알아보기 (Learn more)
- ping 외에 deck gateway에서 사용할 수 있는 다른 명령어들을 함께 살펴봐요 — deck gateway commands