Tried setting up phoenix https://arize.com/docs/phoenix/self-hosting/deployment-options/kubernetes as instructed here but the postgres instance wouldn't even start up at all. Instead, can I use an RDS postgres instance and connect phoenix to that?
Yes, you can use an external RDS Postgres instance with Phoenix. To do this, set the PHOENIX_SQL_DATABASE_URL environment variable in your Phoenix deployment to your RDS Postgres connection string. This is the recommended approach for production, and Phoenix will connect to your external database instead of starting a local Postgres instance. Make sure your RDS instance is accessible from your Kubernetes cluster and that the connection string is correct. Migrations are handled automatically at boot up when using an external Postgres database.For Kubernetes, you can modify the deployment YAML or Helm values to disable the internal Postgres deployment and point Phoenix to your RDS instance. See the official docs and Helm values for configuration details.Would you like a step-by-step example for Kubernetes or Helm?Sources:
- Phoenix Helm values.yaml
- Phoenix Self-Hosting Architecture
- Phoenix Slack: external Postgres guidance
- official docs
馃挕聽Hint: Mention RunLLM in the thread for followups.
Are you using Helm or Kustomize?
I just ran the kustomize command
I am much more familiar with the pure Helm deployment, so I'd have to defer to someone else.
the goal is to use helm, so any insight would be great
Could you follow the Helm instructions as is and let me know how those go? We're using Helm and we've deployed using RDS, a standalone Postgres Operator, and using the built-in SQLite (via PVC)
So it definitely works, but the docs could be out-of-sync or unclear
