
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 7,629 Views
Is there a way to determine the master API endpoint URL in OenShift? Thanks
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 7,590 Views
Hello @cstauss1 ,
In OpenShift, you can determine the master API endpoint URL by using the oc cluster-info command. This command provides information about the OpenShift cluster, including the URL of the master API endpoint.
$ oc cluster-info
Kubernetes master is running at https://api.<your-openshift-domain>:6443
Please note the URL format may vary depending on your OCP installation and configuration. And it may also depend upon your OCP version
The oc config view or oc get apiserver commands can also be used to display the API Server URL.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 7,591 Views
Hello @cstauss1 ,
In OpenShift, you can determine the master API endpoint URL by using the oc cluster-info command. This command provides information about the OpenShift cluster, including the URL of the master API endpoint.
$ oc cluster-info
Kubernetes master is running at https://api.<your-openshift-domain>:6443
Please note the URL format may vary depending on your OCP installation and configuration. And it may also depend upon your OCP version
The oc config view or oc get apiserver commands can also be used to display the API Server URL.