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

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(사용자 2명의 중간 판 15개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{소문자}}
{{소문자}}
==개요==
==개요==
;kubectl get deploy
;kubectl get deployment
;kubectl get deployments
;kubectl get deployments
<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get deployments
$ kubectl get deployments
NAME                  DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
NAME                  DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
kubernetes-bootcamp  1        1        1            1          39s
kubernetes-bootcamp  1        1        1            1          39s
</source>
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ kubectl get deployments -o wide
NAME                  DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE      CONTAINERS            IMAGES                                        SELECTOR
kubernetes-bootcamp  1        1        1            1          3m        kubernetes-bootcamp  gcr.io/google-samples/kubernetes-bootcamp:v1  run=kubernetes-bootcamp
</syntaxhighlight>
----
<syntaxhighlight lang='console'>
$ kubectl get deployment nginx-app
NAME        DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
nginx-app  1        1        1            1          2m
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[kubectl get deployment]]
* [[kubectl delete deploy]]
* [[kubectl describe deploy]]
* [[kubectl get]]
* [[kubectl run]]
* [[kubectl run]]
* [[kubectl scale]]
* [[kubectl scale]]
* [[kubectl proxy]]
* [[kubectl proxy]]
* [[kubectl]]..
* [[kubectl]]
* [[kubectl get deployments -oyaml]] ★
* [[kubectl get deployments -ojson]]
* [[쿠버네티스 Deployment]]
* [[쿠버네티스 Deployment]]
==참고==
* https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl


[[분류: kubectl]]
[[분류: kubectl]]
[[분류: k8s Deployment]]

2020년 11월 2일 (월) 00:55 기준 최신판

1 개요[ | ]

kubectl get deploy
kubectl get deployment
kubectl get deployments
$ kubectl get deployments
NAME                  DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
kubernetes-bootcamp   1         1         1            1           39s
$ kubectl get deployments -o wide
NAME                  DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE       CONTAINERS            IMAGES                                         SELECTOR
kubernetes-bootcamp   1         1         1            1           3m        kubernetes-bootcamp   gcr.io/google-samples/kubernetes-bootcamp:v1   run=kubernetes-bootcamp

$ kubectl get deployment nginx-app
NAME        DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
nginx-app   1         1         1            1           2m

2 같이 보기[ | ]

3 참고[ | ]

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