kubectl get pods -l

1 개요[ | ]

kubectl label pod -l
$ kubectl label pod kubernetes-bootcamp-5c69669756-pdd9r app=v1
pod/kubernetes-bootcamp-5c69669756-pdd9r labeled
$ kubectl get pods -l app=v1
NAME                                   READY     STATUS    RESTARTS   AGE
kubernetes-bootcamp-5c69669756-pdd9r   1/1       Running   0          7m

2 같이 보기[ | ]

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