SciDAS / nextflow-api

MIT License
31 stars 5 forks source link

Create separate pod for mongodb #24

Closed bentsherman closed 4 years ago

bentsherman commented 4 years ago

Currently mongodb runs on the same pod as the web server, but ideally it should be in a separate pod so that the web server pod can be scaled up. It can use the same Docker image, it just needs to start up the mongodb service and restore the latest backup.

Also, the server.py script must establish a remote connection to the database pod instead of using localhost. This should be possible by assigning a ClusterIP to the database pod.

bentsherman commented 4 years ago

Done.