-
Notifications
You must be signed in to change notification settings - Fork 6
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
Connect eoapi-k8s STAC FastAPI to External PostgreSQL Database #133
Comments
@MathewNWSH: If you are using the old and deprecated |
That said PGO should actually support you doing this too (including specifying your own usernames/passwords and hosts) but you'd have to dig through their charts to figure out how to do that. That's probably what I'd recommend doing |
Postgres credentials and connection details can be provided as environment variables to each service. An example of how these are populated through eoapi-k8s/helm-chart/eoapi/templates/db/secrets.yaml Lines 8 to 17 in e485580
PGO also provides lots of options to use external DBs, but it generally requires setting up a primary cluster through PGO first AFAIK. You could also continue to use |
Great! Let's keep this issue to add documentation for it. |
Description
Hello everyone, I have recently returned to the topic of deploying pgstack and stac-fast API on Kubernetes (my deployment using Docker Compose can no longer handle the storage needs :).
And here is where I have a problem: many thanks for creating the cloud-native PostgreSQL operator, thanks to it eoapi-k8s is really an amazing tool for working with the cloud in every regard, but we have set up our own bare-metal server dedicated to the PostgreSQL database. The server has been configured for HA (master and synchronizing read-only slaves), so I would like to use this database. This means that, I would like to keep it on a different cluster. Can this be done? i.e., is it enough in the YAML to add:
Thanks for the response and the developers' work on eoapi.
Labels
The text was updated successfully, but these errors were encountered: