How to find the Openshift Cluster API address using rest api

217 views Asked by At

how to find the the cluster api address using rest api. Like cluster ID can be collected from /apis/config.openshift.io/v1/clusterversions.

enter image description here

thanks in advance

1

There are 1 answers

0
Stephen Kitt On BEST ANSWER

The API address is available in the apiServerURL field in the status of the Infrastructure object, available at /apis/config.openshift.io/v1/infrastructures.