Anthos Service Mesh (istio) 和 keycloak pod 与外部 postgres 的连接错误
我已在 GKE 集群中安装了 Anthos 服务网格,并安装了一个连接到 GCP 中的外部数据库的 keycloak statefulset。当 istio sidecar 位于 keycloak pod 中时,我在 keycloak 容器中收到此错误:
keycloak 07:21:54.00 错误 ==>无法连接到主机 XXX.XXX.XXX.XXX
在 istio_proxy 容器中,我收到此错误:
stsserver http 错误:服务器已关闭
错误:无法启动 xds 代理:无法构建与上游对话的 TLS 拨号选项:无法找到 XDS 的根 CA 证书:XDS 的根 CA 文件不存在 ./var/run/secrets/kubernetes.io /serviceaccount/ca.crt 2022-02-28T07:23:00.961316Z 错误无法启动 xds 代理:无法构建与上游对话的 TLS 拨号选项:无法找到 XDS 的根 CA 证书:XDS 的根 CA 文件不存在 ./var/run /secrets/kubernetes.io/serviceaccount/ca.crt
我还有另外两个连接到数据库的 pod,并且 thoose 工作正常,但是keycloak 没有
任何人可以帮助我吗?
谢谢
I have installed Anthos service mesh in my GKE cluster and a keycloak statefulset that connect to an external database in GCP. When the istio sidecar are in the keycloak pod, I get this error in keycloak container:
keycloak 07:21:54.00 ERROR ==> Unable to connect to host XXX.XXX.XXX.XXX
In the istio_proxy container I get this error:
Error stsserver http: Server closed
Error: failed to start xds proxy: failed to build TLS dial option to talk to upstream: failed to find root CA cert for XDS: root CA file for XDS does not exist ./var/run/secrets/kubernetes.io/serviceaccount/ca.crt
2022-02-28T07:23:00.961316Z error failed to start xds proxy: failed to build TLS dial option to talk to upstream: failed to find root CA cert for XDS: root CA file for XDS does not exist ./var/run/secrets/kubernetes.io/serviceaccount/ca.crt
I have other two pods that connects to the database and thoose works fine, but keycloak doesn't
Can anyone helps me?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论