简体   繁体   English

IBM Cloud:用于 App ID 集成的 Kube.netes 附加组件 ALB Oauth2 代理无法启动

[英]IBM Cloud: Kubernetes add-on ALB Oauth2 Proxy for App ID integration fails to start

I deployed a containerized app to my IBM Cloud Kube.netes service in a VPC.我将容器化应用程序部署到 VPC 中的 IBM Cloud Kube.netes 服务。 The app uses App ID for authentication.该应用程序使用 App ID 进行身份验证。 The deployment pipeline ran successfully.部署管道成功运行。 The app seems ready, but when accessing its URL it gives an internal server error (500 status code).该应用程序似乎已准备就绪,但在访问其 URL 时会出现内部服务器错误(500 状态代码)。

访问已部署的应用程序时出现 500 Internal Server Error

From the Kube.netes dashboard I found that the ALB Oauth Proxy add-on is failing.从 Kube.netes 仪表板,我发现 ALB Oauth 代理加载项失败。 It is deployed, but does not start.它已部署,但未启动。

The deployment seems to fail in the health checks (ping not successful).部署似乎在健康检查中失败(ping 不成功)。 From the POD logs I found the following as last (and only) entry:从 POD 日志中,我发现以下是最后(也是唯一)条目:

[provider.go:55] Performing OIDC Discovery... [provider.go:55] 执行 OIDC 发现...

Else, there is not much.否则,没有多少。 Any advise?有什么建议吗?

Guessing from the missing logs and the failing pings, it seemed related to some.network setup.从丢失的日志和失败的 ping 猜测,它似乎与 some.network 设置有关。 Checking the VPC itself, I found that there was no Public Gateway attached to the su.net.检查 VPC 本身,我发现没有连接到 su.net 的公共网关。 Enabling it allowed outbound traffic.启用它允许出站流量。 The oauth proxy could contact the App ID instance. oauth 代理可以联系 App ID 实例。 The app is working as expected now.该应用程序现在按预期工作。

Make sure that the VPC su.nets allow outbound traffic and have a Public Gateway enabled.确保 VPC su.net 允许出站流量并启用公共网关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IBM Cloud:如何使用 K8s Ingress 和 ALB OAuth 代理在 Kubernetes 集群上启用应用程序 ID? - IBM Cloud: How to enable App ID for app on Kubernetes cluster with K8s Ingress and ALB OAuth Proxy? IBM-Cloud Django 应用程序与 APP-ID 的集成 - IBM-Cloud Django Application integration with APP-ID IBM Cloud中的Kubernetes部署失败了 - Kubernetes deployments in IBM Cloud fails for me 在IBM Cloud Kubernetes Service中使用IBM App ID时,不会触发认证过程 - Authentication Process is not triggered when using IBM App ID in IBM Cloud Kubernetes Service 您可以将用户角色添加到IBM Cloud App ID中吗 - Can you add user roles to IBM Cloud App ID 如何在具有服务ID的IBM Cloud上创建Kubernetes集群? - How to create Kubernetes cluster on IBM Cloud with service ID? 访问IBM Cloud中的Kubernetes - Access to Kubernetes in IBM Cloud 在 IBM Cloud 中使用持续集成时保留应用程序特定变量 - Keeping app specific variables when using continuous integration in IBM Cloud IBM Cloud Kubernetes 部署的 URL - URL for IBM Cloud Kubernetes deployment 如何将IBM Cloud Functions与App ID集成以进行身份​​验证? - How to integrate IBM Cloud Functions with App ID for authentication?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM