Kavin Kumar
Kavin Kumar

Reputation: 107

How to find the Openshift Cluster API address using rest api

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

Upvotes: 1

Views: 740

Answers (1)

Stephen Kitt
Stephen Kitt

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

Related Questions