Is there a way to determine the master API endpoint URL in OenShift? Thanks
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.
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.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.