Difference between revisions of "Kubectl get service"
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
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
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: