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

(새 문서: ==개요== ;kubectl get nodes <source lang='console'> $ kubectl get nodes NAME STATUS ROLES AGE VERSION host01 Ready <none> 10m v1.9.0 </source> ==...)
 
 
(사용자 2명의 중간 판 22개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{소문자}}
==개요==
==개요==
;kubectl get no
;kubectl get node
;kubectl get nodes
;kubectl get nodes
<source lang='console'>
 
<syntaxhighlight lang='console'>
$ kubectl get nodes
NAME      STATUS    ROLES    AGE      VERSION
minikube  Ready    <none>    59s      v1.10.0
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ kubectl get nodes
$ 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
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ kubectl get no
NAME      STATUS    ROLES    AGE      VERSION
NAME      STATUS    ROLES    AGE      VERSION
host01   Ready    <none>    10m       v1.9.0
master    Ready    master    3h        v1.11.3
</source>
node01   Ready    <none>    3h        v1.11.3
</syntaxhighlight>
 
==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>


==같이 보기==
==같이 보기==
{{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]]
* [[쿠버네티스 Node]]
* [[쿠버네티스 node STATUS]]
* [[쿠버네티스 pod CIDR 확인]]
}}
==참고==
* https://docs.microsoft.com/ko-kr/azure/container-service/kubernetes/container-service-kubernetes-walkthrough


[[분류: kubectl]]
[[분류: kubectl]]

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