-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing via helm - backend unable to connect to postgres #848
Comments
Hi, @yixu34! Thanks for reaching out. According to the logs, I can see that apparently
I imagine maybe something was off during the installation. If you could share the services you have, I can help you debug what happened. |
Here are my services:
I think I might see what the problem is, then: it looks like |
Ok, changing |
Nice catch. That does look like a typo and you are right that some of the names appear to be hardcoded (both in the DB reference and the graphql config). It should be based off the name of the release everywhere to avoid this situation. I'd definitely appreciate a PR with fixes! |
Ok cool, but let me make sure I have everything working first 😅 In addition to removing the double dash, I had to move the
|
Ok, I think I was able to narrow down what happened. First, the webapp logs were a bit misleading because After that, I noticed that the graphql service was serving on port 4000, but the whole setup assumed it was on port 3000. The reason for this mismatch is that internally our services default to port 3000 for the exposed layer, but we had to move to 4000 to avoid collision on docker compose to simplify things for users. So the deployment template for graphql should have
which will set the correct port. This should resolve the issue you're seeing. I'm not sure how I missed that earlier. Could you double check? I appreciate the help to debug while we open more of our platform! Our SaaS runs with a very specific configuration, so we need to reconsolidate progressively as we keep moving new parts to the open world. Our end to end CI is not fully compatible with the open version, but it's coming! |
I've just pulled master and I'm on f8780ec (this was after the helm chart split, which I noticed in some of the
2.x
tagged versions previously). I tried installing on our k8s cluster via helm, and thebackend
container of the backend service is giving an error:Is there something that's not working out of the box with the helm charts? Or did I not configure the secrets correctly? All I did was
helm install modeldb-staging-f8780e . --namespace <our namespace>
. Thanks!The text was updated successfully, but these errors were encountered: