calicoctl node status
이 섹션은 calicoctl node status 명령을 설명해요.
calicoctl 명령 전체 목록은 calicoctl 개요를 참고하세요.
본문
'calicoctl node status' 명령의 도움말 보기
calicoctl node status --help를 실행하면 다음과 같은 도움말 메뉴가 표시돼요.
Show the current status of the Calico node on this host, including uptime and
BGP peering states. Must be run on the node whose status you want.
Usage:
calicoctl node status [flags]
Examples:
calicoctl node status
Flags:
-h, --help help for status
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 인스턴스의 상태를 확인해요.
sudo calicoctl node status
샘플 결과 일부는 아래와 같아요.
Calico process is running.
IPv4 BGP status
+--------------+-------------------+-------+----------+-------------+
| PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO |
+--------------+-------------------+-------+----------+-------------+
| 172.17.8.102 | node-to-node mesh | up | 23:30:04 | Established |
+--------------+-------------------+-------+----------+-------------+
IPv6 BGP status
No IPv6 peers found.
더 알아보기 (Learn more)
node status는 이 호스트의 Calico 노드 상태와 BGP 피어링 상태를 보여주는 명령이에요. 상태를 확인하려는 노드에서 직접 실행해야 해요. BGP 피어가 Established로 올라왔는지 확인할 때 유용해요.