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

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
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}}
{{참고|k8s NotReady node}}
{{소스헤더|down/unreachable node<ref>https://kubernetes.io/docs/tasks/debug-application-cluster/</ref>}}
{{소스헤더|down/unreachable node<ref>https://kubernetes.io/docs/tasks/debug-application-cluster/</ref>}}
<source lang='console'>
<syntaxhighlight lang='console'>
# kubectl get nodes
# kubectl get nodes
NAME                    STATUS      ROLES    AGE    VERSION
NAME                    STATUS      ROLES    AGE    VERSION
35번째 줄: 35번째 줄:
kubernetes-node-st6x    Ready        <none>    1h      v1.13.0
kubernetes-node-st6x    Ready        <none>    1h      v1.13.0
kubernetes-node-unaj    Ready        <none>    1h      v1.13.0
kubernetes-node-unaj    Ready        <none>    1h      v1.13.0
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2021년 9월 24일 (금) 23:34 판

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 }}