我已经在谷歌云的 3 节点集群上部署了 ravendb。但是它不能从浏览器访问。这是我遵循的程序和配置。你能帮我解决服务和部署问题吗?当我运行 get pods 和 get svc 命令时,pods 和服务正在运行,但无法从浏览器访问数据库。
程序如下:
I suggest you first run the setup wizard on your local dev machine and get the Let's Encrypt certificate. Just use 127.0.0.1:8080 as the IP, it's not important at the moment.
(Even better will be to get your own domain + certificate for production use)
You need to convert both the pfx file and the license.json file to base64, In c# for example:
Convert.ToBase64String(File.ReadAllBytes(@"C:\work\certs\cluster.server.certificate.iftah.pfx"))
Convert.ToBase64String(File.ReadAllBytes(@"C:\work\license.json"))
1. Create a …Run Code Online (Sandbox Code Playgroud) ravendb ravenhq kubernetes google-kubernetes-engine kubernetes-ingress