From 3.3.1 to 3.4.0
Summary
Optimization Server 3.4.0 introduces break changes in:
the Helm charts
You are concerned by this guide if :
you deploy a Helm chart with custom environment variables in values
Deployment of Optimization Server
| Chart | Backward compatibility | Deprecations |
|---|---|---|
| dbos-infra | Break changes: adjust code | |
| dbos | Break changes: adjust code | |
| cplex | Break changes: adjust code | |
| wod | Break changes: adjust code |
Helm charts
The syntax for declaring custom environment variables (under env) has changed.
3.3.0/3.3.1:
...
env:
- name: VARIABLE_NAME
value: "variable value"3.4.0:
...
env:
VARIABLE_NAME:
value: "variable value"The properties are migrated by calling the Python helper script. Make sure the output file complies with the description of the example above.
Note: You can supply "3.3.1" as the source version too in the commands below.
dbos-infra chart
See this page for more details.
// Might be 'python' instead of 'python3' on Windows systems
python3 -m optimserver.helm.migration.migrate_helm_values --src=3.3.0 --dst=3.4.0 --chart=DBOS_INFRA --input INPUT --output OUTPUTdbos chart
See this page for more details.
// Might be 'python' instead of 'python3' on Windows systems
python3 -m optimserver.helm.migration.migrate_helm_values --src=3.3.0 --dst=3.4.0 --chart=DBOS_APP --input INPUT --output OUTPUT