检查 Ingress 组件的状态
虚拟私有云 传统基础设施
获取状态和消息
要检查集群的 Ingress 组件的总体运行状况和状态,请执行以下操作:
ibmcloud oc ingress status-report get -c CLUSTER_NAME_OR_ID
在 Ingress 状态 和 Ingress 消息中报告 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
Ingress Status 和 Ingress Message 字段也会在 ibmcloud oc cluster get 命令的输出中返回。
入口状态
Ingress 状态反映 Ingress 组件的总体运行状况。
| Ingress 状态 | 描述 |
|---|---|
healthy |
入口组件正常运行。 |
warning |
某些入口组件可能无法正常工作。 |
critical |
某些入口组件发生故障。 |
disabled |
已禁用 Ingress 状态报告。 您可以使用 ibmcloud oc ingress status-report enable 命令将其打开。 |
unsupported |
入口状态报告不可用于不受支持的集群版本。 |
unknown |
系统无法计算 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 状态显示 ERRESNF 错误?。 |
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 错误?。 |