如何在 Cloud 运行 上为 Anthos on Google Cloud 集群启用 HTTPS?

How do I enable HTTPS on a Cloud Run for Anthos on Google Cloud cluster?

我最近开始为 Anthos on GoogleCloud 摆弄 Cloud 运行,但我无法启用 HTTPS 访问。我已经按照 docs but it still doesn't work. I have a custom .dev domain which I configured through these steps 中的每个步骤进行操作,HTTP 一切正常,但 HTTPS 仍然显示 connection refused

curl http://api.default.customdomain.dev - 工作正常

但是 curl https://api.default.customdomain.dev - 说:

curl: (7) Failed to connect to api.default.customdomain.dev port 443: Connection refused

我很确定文档中没有指定某些内容,GCP 文档经常出现这种情况。有没有其他人为此苦苦挣扎并可能提供帮助?谢谢!

编辑:这实际上是我的错 - 当 creating the cert/private key secret 我为 --namespace 值提供 default 而不是 gke-system 时。所以,是的...现在已修复。

这实际上是我的错 - 当 creating the cert/private key secret 我为 --namespace 值提供 default 而不是 gke-system 时。所以,是的...现在已修复。