"Kubectl get nodes"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 8개는 보이지 않습니다)
5번째 줄: 5번째 줄:
;kubectl get nodes
;kubectl get nodes


<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get nodes
$ kubectl get nodes
NAME      STATUS    ROLES    AGE      VERSION
NAME      STATUS    ROLES    AGE      VERSION
minikube  Ready    <none>    59s      v1.10.0
minikube  Ready    <none>    59s      v1.10.0
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get nodes
$ kubectl get nodes
NAME                    STATUS                    AGE      VERSION
NAME                    STATUS                    AGE      VERSION
17번째 줄: 17번째 줄:
k8s-agent-14ad53a1-2    Ready                      10m      v1.6.6
k8s-agent-14ad53a1-2    Ready                      10m      v1.6.6
k8s-master-14ad53a1-0  Ready,SchedulingDisabled  10m      v1.6.6
k8s-master-14ad53a1-0  Ready,SchedulingDisabled  10m      v1.6.6
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get no
$ kubectl get no
NAME      STATUS    ROLES    AGE      VERSION
NAME      STATUS    ROLES    AGE      VERSION
master    Ready    master    3h        v1.11.3
master    Ready    master    3h        v1.11.3
node01    Ready    <none>    3h        v1.11.3
node01    Ready    <none>    3h        v1.11.3
</source>
</syntaxhighlight>


==NotReady==
==NotReady==
{{참고|k8s NotReady node}}
{{소스헤더|down/unreachable node<ref>https://kubernetes.io/docs/tasks/debug-application-cluster/</ref>}}
<syntaxhighlight lang='console'>
# kubectl get nodes
NAME                    STATUS      ROLES    AGE    VERSION
kubernetes-node-861h    NotReady    <none>    1h      v1.13.0
kubernetes-node-bols    Ready        <none>    1h      v1.13.0
kubernetes-node-st6x    Ready        <none>    1h      v1.13.0
kubernetes-node-unaj    Ready        <none>    1h      v1.13.0
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[kubectl get no -owide]]
{{z컬럼3|
* [[kubectl get]]
* [[kubectl get nodes -o wide]]
* [[kubectl get nodes -o yaml]]
* [[kubectl cluster-info]]
* [[kubectl cluster-info]]
* [[kubectl run]]
* [[kubectl run]]
* [[kubectl debug]]
* [[kubectl get pods]]
* [[kubectl get pods]]
* [[쿠버네티스 Node]]
* [[쿠버네티스 Node]]
* [[쿠버네티스 node STATUS]]
* [[쿠버네티스 node STATUS]]
* [[쿠버네티스 pod CIDR 확인]]
}}


==참고==
==참고==

2022년 4월 8일 (금) 16:42 기준 최신판

1 개요[ | ]

kubectl get no
kubectl get node
kubectl get nodes
$ kubectl get nodes
NAME       STATUS    ROLES     AGE       VERSION
minikube   Ready     <none>    59s       v1.10.0
$ kubectl get nodes
NAME                    STATUS                     AGE       VERSION
k8s-agent-14ad53a1-0    Ready                      10m       v1.6.6
k8s-agent-14ad53a1-1    Ready                      10m       v1.6.6
k8s-agent-14ad53a1-2    Ready                      10m       v1.6.6
k8s-master-14ad53a1-0   Ready,SchedulingDisabled   10m       v1.6.6
$ kubectl get no
NAME      STATUS    ROLES     AGE       VERSION
master    Ready     master    3h        v1.11.3
node01    Ready     <none>    3h        v1.11.3

2 NotReady[ | ]

down/unreachable node[1]
# kubectl get nodes
NAME                     STATUS       ROLES     AGE     VERSION
kubernetes-node-861h     NotReady     <none>    1h      v1.13.0
kubernetes-node-bols     Ready        <none>    1h      v1.13.0
kubernetes-node-st6x     Ready        <none>    1h      v1.13.0
kubernetes-node-unaj     Ready        <none>    1h      v1.13.0

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}