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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
5번째 줄: 5번째 줄:
;kubectl get services
;kubectl get services


<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get services
$ kubectl get services
NAME                  TYPE        CLUSTER-IP      EXTERNAL-IP  PORT(S)    AGE
NAME                  TYPE        CLUSTER-IP      EXTERNAL-IP  PORT(S)    AGE
kubernetes            ClusterIP  10.96.0.1        <none>        443/TCP    12m
kubernetes            ClusterIP  10.96.0.1        <none>        443/TCP    12m
kubernetes-bootcamp  NodePort    10.109.119.107  <none>        8080:30885/TCP  12m
kubernetes-bootcamp  NodePort    10.109.119.107  <none>        8080:30885/TCP  12m
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
$ kubectl get services/kubernetes-bootcamp
$ kubectl get services/kubernetes-bootcamp
NAME                  TYPE      CLUSTER-IP      EXTERNAL-IP  PORT(S)  AGE
NAME                  TYPE      CLUSTER-IP      EXTERNAL-IP  PORT(S)  AGE
kubernetes-bootcamp  NodePort  10.109.119.107  <none>        8080:30885/TCP  12m
kubernetes-bootcamp  NodePort  10.109.119.107  <none>        8080:30885/TCP  12m
</source>
</syntaxhighlight>


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

2024년 2월 26일 (월) 00:48 기준 최신판

1 개요[ | ]

kubectl get svc
kubectl get service
kubectl get services
$ kubectl get services
NAME                  TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
kubernetes            ClusterIP   10.96.0.1        <none>        443/TCP    12m
kubernetes-bootcamp   NodePort    10.109.119.107   <none>        8080:30885/TCP   12m
$ kubectl get services/kubernetes-bootcamp
NAME                  TYPE       CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
kubernetes-bootcamp   NodePort   10.109.119.107   <none>        8080:30885/TCP   12m

2 같이 보기[ | ]

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