Translated message

A translation of this page exists in English.

OC コマンドで "Unable to connect to the server:Service Unavailable" エラーが発生する

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content