calicoctl version
이 섹션은 calicoctl version 명령을 설명해요.
calicoctl 명령 전체 목록은 calicoctl 개요를 참고하세요.
본문
'calicoctl version' 명령들의 도움말 보기
calicoctl version --help를 실행하면 다음과 같은 도움말 메뉴가 표시돼요.
Display version information for calicoctl, and for the cluster when it can be reached.
Usage:
calicoctl version [flags]
Examples:
# Show client and cluster versions.
calicoctl version
# Show only the client version.
calicoctl version --client
Flags:
--client Display the client version only.
-c, --config string Path to the file containing connection configuration.
-h, --help help for version
--poll string Poll for changes to the cluster information at a frequency specified using POLL duration.
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")
예제
calicoctl version을 실행하면 다음 데이터를 얻을 수 있어요.
| Field | Value |
|---|---|
Client Version |
Version of calicoctl |
Build date |
Time and date of calicoctl build |
Git commit |
Git commit number of calicoctl |
Cluster Version* |
Version number of calico/node and Calico |
Cluster Type* |
Other details about the cluster |
* 이 값을 얻으려면 calicoctl을 데이터스토어에 연결하도록 구성해야 해요.
더 알아보기 (See also)
더 알아보기 (Learn more)
calicoctl version은 클라이언트 버전을 기본으로 보여주고, 데이터스토어에 연결되어 있다면 클러스터 버전과 타입도 함께 표시해요. 클라이언트·클러스터 버전 불일치 여부를 확인할 때 유용해요.