Difference between revisions of "Kubectl get service"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
[[EKS]]  
 
[[EKS]]  
  kubectl get service kube-dns -n kube-system
+
  kubectl get service [[kube-dns]] -n [[kube-system]]
 
  NAME      TYPE        CLUSTER-IP    EXTERNAL-IP  PORT(S)        AGE
 
  NAME      TYPE        CLUSTER-IP    EXTERNAL-IP  PORT(S)        AGE
 
  kube-dns  ClusterIP  10.100.0.10  <none>        53/UDP,53/TCP  3h52m
 
  kube-dns  ClusterIP  10.100.0.10  <none>        53/UDP,53/TCP  3h52m

Revision as of 18:46, 3 December 2021

EKS

kubectl get service kube-dns -n kube-system
NAME       TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)         AGE
kube-dns   ClusterIP   10.100.0.10   <none>        53/UDP,53/TCP   3h52m
kubectl -n kube-system get endpoints kube-dns
NAME       ENDPOINTS   AGE
kube-dns   <none>      3h55m

Related

See also

Advertising: