Today we have two types of execution server templates:
- Execution Server + Database - starts the server in one node and database in another node
- Execution Server + External Database - starts the server and connects to existing database via DB HOST URL
We would need one more template when we consider the following use case:
- Create a new OpenShift project
- Add database template (MySQL)
- Add this new Execution Server template which will connect to the previously created database node via its Service Name (not HOST URL)
- Add another container of this new Execution Server template which will connect to the same database node
There are few reasons why we need this template:
- to share database among execution servers with different projects and different scalability needs
- to reuse existing database container with related business data so that all information is in a single database for joined queries
- etc.
The template should include all database drivers which we support on OpenShift (MySQL, PostgreSQL, and any others?).