Optimization Server 3.4.0 introduces break changes in:
You are concerned by this guide if :
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 |
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.
// 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 OUTPUT
// 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
// 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_WORKER --input INPUT --output OUTPUT