如何使用rest api查找Openshift Cluster API地址

问题描述 投票:0回答:1

如何使用rest api查找集群api地址。类似集群 ID 可以从 /apis/config.openshift.io/v1/clusterversions.

收集

提前致谢

kubernetes openshift okd
1个回答
0
投票

API 地址可在

基础设施对象的状态
中的 apiServerURL 字段中找到,可在 /apis/config.openshift.io/v1/infrastructures 获取。

© www.soinside.com 2019 - 2024. All rights reserved.