Deploy with Helm
The Optimization Server can be deployed using a set of Helm charts. The chart supports both Kubernetes and OKD/Openshift plaforms. If you use 'On Demand' workers, verify your Kubernetes instance is compatible with 'On Demand' workers prerequisites.
There are 5 Helm charts that must be deployed in the following order:
dbos-volumes : deploys volumes for persistent data
dbos-secrets : stores the usernames, database names and passwords into secrets objects.
dbos-infra : deploys third party pieces of software Optimization Server depends on (Keycloak, Postgres, RabbitMQ, MongoDB)
dbos : deploys the Optimization Server application itself.
ingress : deploys routes to reach the Optimization Server application from outside the the Kubernetes / OpenShift cluster.
Additionally you can install:
dbos-cplexstudio-workers chart that demonstrates the usage of Cplex with a worker.
dbos-workers-on-demand chart that helps to declare the 'On Demand' workers.
You can download the charts directly by clicking on the links above or add the DecisionBrain Helm registry
Download the charts
Before starting configuration and deployment, download and unzip the charts, and create a values.yaml file in the root folder for later configuration steps.
|-- values.yaml
|-- dbos-volumes-4.4.0/
|-- dbos-secrets-4.4.0/
|-- dbos-infra-4.4.0/
|-- dbos-4.4.0/
|-- ingress-0.1.0/
|-- dbos-cplexstudio-workers-4.4.0/
|-- dbos-workers-on-demand-4.4.0/the values.yaml file may contain the following sections:
global:
...
# infra
rabbitmq:
...
mongo:
...
postgres:
...
keycloak:
...
# Optimization Server
console:
...
documentation:
...
master:
...
# cplex
dbos-cplexstudio-workers: # optional
...
dbos-workers-on-demand: # optional
...
Or add the DecisionBrain Helm registry
Add the DecisionBrain Helm registry to your Helm repositories list
helm repo add decisionbrain https://nexus.decisionbrain.cloud/repository/dbos-helm/ --username <userId> --password <password>Check you can see the charts.
helm search repo decisionbrain --version 4.4.0Expected output:
| NAME | CHART VERSION | APP VERSION | DESCRIPTION |
|---|---|---|---|
| decisionbrain/dbos | 4.4.0 | 4.4.0 | ... |
| decisionbrain/dbos-infra | 4.4.0 | 4.4.0 | ... |
| decisionbrain/dbos-secrets | 4.4.0 | 4.4.0 | ... |
| decisionbrain/dbos-volumes | 4.4.0 | 4.4.0 | ... |
| decisionbrain/dbos-cplexstudio-workers | 4.4.0 | 4.4.0 | ... |
| decisionbrain/dbos-workers-on-demand | 4.4.0 | 4.4.0 | ... |
Global Configuration
Some global properties are shared among the charts:
global:
host: mydomain.comFor the chart specific configuration, see the related pages: