Bootstrap FreeKB - OpenShift - List endpoints using the oc get endpoints command
OpenShift - List endpoints using the oc get endpoints command

Updated:   |  OpenShift articles

If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.

The oc get endpoints command can be used to list the endpoints in the currently selected project / namespace. Typically, the endpoint will contain the name of the deployment / pod / service that the endpoint is being used for.

TIP

The -A or --all-namespaces flag can be used to list the endpoints in every project / namespace.

The -n or --namespace flag can be used to list the endpoints in a certain project / namespace.

~]$ oc get endpoints
NAME                       ENDPOINTS            AGE
app001                     10.128.15.19:8443    56d
app002                     <none>               11h
app003                     10.131.13.30:8443    540d

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter c2187d in the box below so that we can be sure you are a human.