Reputation: 107
how to find the the cluster api address using rest api. Like cluster ID can be collected from /apis/config.openshift.io/v1/clusterversions.
thanks in advance
Upvotes: 1
Views: 740
Reputation: 2881
The API address is available in the apiServerURL
field in the status of the Infrastructure object, available at /apis/config.openshift.io/v1/infrastructures.
Upvotes: 1