Difference between revisions of "Kubectl get service"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  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
 +
 +
[[kubectl -n kube-system]] get [[endpoints]] kube-dns
 +
NAME      ENDPOINTS  AGE
 +
kube-dns  <none>      3h55m
  
 
== See also ==
 
== See also ==

Revision as of 20:19, 28 November 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

See also

Advertising: