檢查 Ingress 元件的狀態

虛擬私有雲 傳統基礎設施

取得狀態及訊息

若要檢查叢集 Ingress 元件的整體性能及狀態,請執行下列動作:

ibmcloud oc ingress status-report get -c CLUSTER_NAME_OR_ID

Ingress 狀態Ingress Message 中報告 Ingress 元件的狀態。

輸出範例

Ingress Status:   healthy
Message:          All Ingress components are healthy.
Cluster            Status
ingress-operator   healthy
route-admission    healthy
Subdomain                                                                           Status
example-ae7743ca70a399d9cff4eaf617434c72-0000.us-south.containers.appdomain.cloud   healthy
Router           Status
router-default   healthy
Secret                                          Namespace           Status
example-ae7743ca70a399d9cff4eaf617434c72-0000   ibm-cert-store      healthy
example-ae7743ca70a399d9cff4eaf617434c72-0000   openshift-ingress   healthy

ibmcloud oc cluster get 指令的輸出中也會傳回 Ingress 狀態Ingress 訊息 欄位。

進入狀態

「Ingress 狀態」反映 Ingress 元件的整體性能。

Ingress 狀態
Ingress 狀態 說明
healthy Ingress 元件性能良好。
warning 部分 Ingress 元件可能無法正常運作。
critical 部分 Ingress 元件故障。
disabled 已停用 Ingress 狀態報告。 您可以使用 ibmcloud oc ingress status-report enable 指令來開啟它。
unsupported 不受支援的叢集版本無法使用 Ingress 狀態報告。
unknown 系統無法計算 Ingress 狀態。

進入訊息

Ingress 訊息會提供進行中作業的詳細資料,或任何不健全元件的相關資訊。 下表說明每一個狀態和訊息。

Ingress 訊息
Ingress 訊息 說明
The Ingress Operator is missing from the cluster. (ERRIONF). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRIONF 錯誤?
The Ingress Operator is in a degraded state (ERRIODEG). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRIODEG 錯誤?
One or more routes not admitted (ERRRNA). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRRNA 錯誤?
The external service is missing (ERRESNF). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRE.NF 錯誤?
The service is missing one or more worker IPs (ERRSEIPM). 如需相關資訊,請參閱 Ingress 狀態為何會顯示 ERRSEIPM 錯誤?
The load balancer service address is missing (ERRSAM). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRSAM 錯誤?
Could not access Secrets Manager instance (ESSSMI). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSSMI 錯誤?
Could not access the secret group (ESSSMG). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSSMG 錯誤?
The CRN does not match the default secret with the same domain (ESSVC). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSVC 錯誤?
The certificate for TLS secret expired or will expire soon (ESSEC). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSEC 錯誤?
The Opaque secret field expired or will expire soon (ESSEF). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSEF 錯誤?
The secret status shows a warning (ESSWS). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSWS 錯誤?
The secret is not present on the cluster or is in the wrong namespace (ESSDNE). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ESSDNE 錯誤?
The external provider for the given subdomain has authorization issues (ERRDSAISS). 如需相關資訊,請參閱 為何 Ingress 狀態顯示 ERRDSAISS 錯誤?
The subdomain has TLS secret issues (ERRDSISS). 如需相關資訊,請參閱 為何 Ingress 狀態顯示 ERRDSISS 錯誤?
The subdomain has DNS resolution issues (ERRDRISS). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRDRISS 錯誤?
The subdomain has incorrect addresses registered (ERRDSIA). 如需相關資訊,請參閱 Ingress 狀態為何顯示 ERRDSIA 錯誤?