본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

deck gateway reset 명령어

원문 보기 위키 갱신

deck gateway reset 명령어 (deck gateway reset)

deck gateway reset 명령어는 대상 컨트롤 플레인의 모든 엔티티를 한 번에 삭제하는 명령이에요. 되돌릴 수 없는 파괴적인 작업이라 실행 전에 반드시 주의해야 해요. 워크스페이스 지정, 태그 매칭 삭제, 소비자나 CA 인증서 제외 같은 다양한 플래그 옵션도 함께 소개해요. 대화형 확인 프롬프트를 건너뛰는 --force 플래그와 JSON 형식 실행 리포트 생성 방법도 확인할 수 있어요

출처: 문서

본문

리셋 명령어는 파괴적인 작업이며 되돌릴 수 없어요.

명령어 사용법

Usage:
  deck gateway reset [flags]

Flags:
      --all-workspaces                reset configuration of all workspaces (Kong Enterprise only).
  -f, --force                         Skip interactive confirmation prompt before reset.
  -h, --help                          help for reset
      --json-output                   generate command execution report in a JSON format
      --no-mask-deck-env-vars-value   do not mask DECK_ environment variable values at diff output.
      --rbac-resources-only           reset only the RBAC resources (Kong Enterprise only).
      --select-tag strings            only entities matching tags specified via this flag are deleted.
                                      When this setting has multiple tag values, entities must match every tag.
      --skip-ca-certificates          do not reset CA certificates.
      --skip-consumers                do not reset consumers, consumer-groups or any plugins associated with consumers.
      --skip-plugin-definitions       do not reset plugin definitions.
  -w, --workspace string              reset configuration of a specific workspace(Kong Enterprise only).

관련 리소스

더 알아보기 (Learn more)

  • decK의 개요와 기본 개념을 먼저 살펴보고 싶다면 — About decK
  • deck gateway의 다른 하위 명령어들을 살펴보려면 — deck gateway commands