5.4. 检查 Ingress 状态
您可能需要检查 Ingress 的状态,以识别 Serverless 应用程序的问题。
流程
运行以下命令,检查 Ingress 的 IP 地址:
oc get svc -n istio-system istio-ingressgateway
$ oc get svc -n istio-system istio-ingressgateway
Copy to Clipboard Copied! Toggle word wrap Toggle overflow istio-ingressgateway
服务是 Knative 使用的LoadBalancer
服务。如果没有外部 IP 地址,请运行以下命令:
oc describe svc istio-ingressgateway -n istio-system
$ oc describe svc istio-ingressgateway -n istio-system
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 此命令打印没有置备 IP 地址的原因。最有可能是因为配额问题。