OC コマンドで "Unable to connect to the server:Service Unavailable" エラーが発生する
Issue
- bastion ノードで
oc
コマンドを実行中に以下のエラーが発生します。
$ oc get nodes
Unable to connect to the server: Service Unavailable
$ oc get co
Unable to connect to the server: Service Unavailable
- "Service Unavailable" エラーが発生した場合、クラスターログインも機能しません。
Kubernetes service is unavailable log level=debug msg="Still waiting for the Kubernetes API: Get"https://api.<cluster_name>.<base_domain>:6443/version\": Service Unavailable"
Environment
- Red Hat OpenShift Container Platform 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.