calicoctl datastore migrate unlock
이 섹션은 calicoctl datastore migrate unlock 명령을 설명해요.
calicoctl 명령 전체 목록은 calicoctl 개요를 참고하세요.
본문
'calicoctl datastore migrate unlock' 명령의 도움말 보기
calicoctl datastore migrate unlock --help를 실행하면 다음과 같은 도움말 메뉴가 표시돼요.
Unlock the datastore to allow changes again once a migration is complete.
Usage:
calicoctl datastore migrate unlock [flags]
Examples:
calicoctl datastore migrate unlock
Flags:
-c, --config string Path to the file containing connection configuration in YAML or JSON format. (default "/etc/calico/calicoctl.cfg")
-h, --help help for unlock
Global Flags:
--allow-version-mismatch Allow client and cluster versions mismatch
--context string The name of the kubeconfig context to use
-l, --log-level string Set the log level (panic, fatal, error, warn, info, debug) (default "panic")
예제
마이그레이션이 끝난 뒤 데이터스토어를 잠금 해제하면, Calico 리소스가 클러스터에 다시 영향을 줄 수 있어요.
calicoctl datastore migrate unlock
일반 옵션
-c, --config string Path to the file containing connection configuration in YAML or JSON format. (default "/etc/calico/calicoctl.cfg")
더 알아보기 (See also)
- Install calicoctl
- 모든 유효 리소스의 파일 형식과 스키마 등 상세는 Resources
더 알아보기 (Learn more)
migrate unlock은 마이그레이션이 끝난 데이터스토어의 잠금을 풀어 다시 변경을 허용하는 명령이에요. 잠금 해제 후에는 Calico 리소스 변경이 클러스터에 다시 반영돼요. 잠긴 동안 새 파드 시작이 막혀 있었다는 점과 함께 기억해 두세요.