Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

적용된 레이블 제거: label delete

apollo-cli label delete는 리소스에 적용된 레이블을 제거합니다. 대상 리소스와 레이블 ID를 지정하는 작업이며, 전역 레이블 정의를 관리하는 작업과 구분합니다.

현재 지원하는 리소스 유형은 product-release이고 리소스 ID는 Maven 좌표입니다. 실험 단계(Experimental)의 명령으로 V2 experimental commands 활성화가 필요합니다.

apollo-cli label delete <resource-type> <resource-id> [flags]
옵션의미
--label-id제거할 레이블 ID
--dry-run수행할 작업 출력
-h, --help명령 도움말

대상 플랫폼 인스턴스의 기본 조직에 속하지 않았다면 공통 --space-id를 지정해야 합니다.

다음은 가상의 제품 릴리스에서 제거할 적용 관계를 확인하는 예시입니다.

./apollo-cli label delete product-release "com.example:service-a:1.0.0" \
  --label-id release-quality \
  --dry-run