calicoctl datastore migrate
이 섹션은 calicoctl datastore migrate 명령들을 설명해요.
calicoctl 명령 전체 목록은 calicoctl 개요를 참고하세요.
본문
'calicoctl datastore migrate' 명령들의 도움말 보기
calicoctl datastore migrate --help를 실행하면 다음과 같은 도움말 메뉴가 표시돼요.
Migrate the contents of an etcdv3 datastore to a Kubernetes datastore. The
subcommands lock the datastore, export its contents to YAML, import them into
Kubernetes, and unlock when done.
Usage:
calicoctl datastore migrate [command]
Available Commands:
export Export the contents of the etcdv3 datastore to yaml
import Store and convert yaml of resources into the Kubernetes datastore
lock Lock the datastore to prevent changes during migration
unlock Unlock the datastore to allow changes after migration
Flags:
-h, --help help for migrate
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")
Use "calicoctl datastore migrate [command] --help" for more information about a command.
마이그레이션 전용 명령들
calicoctl datastore migrate 명령의 자세한 내용은 아래 링크된 문서에서 하위 명령별로 정리되어 있어요.
- calicoctl datastore migrate export
- calicoctl datastore migrate import
- calicoctl datastore migrate lock
- calicoctl datastore migrate unlock
더 알아보기 (Learn more)
datastore migrate는 etcdv3 데이터스토어의 내용을 쿠버네티스 데이터스토어로 옮기는 명령 묶음이에요. lock → export → import → unlock 순서로 진행돼요. 각 하위 명령의 상세는 개별 문서를 참고하세요.