From 3.0.1 to 3.1.0

Summary

One property in the worker.yml of the workers is deprecated.

Optimization Server 3.1.0 introduces one break change in the Helm charts.

Worker (Java & Python)

Deprecations (see this page for more details)

The scripted-tasks property in the worker.yml file has been renamed into shell-tasks

The property is migrated by calling the Python helper script :

// Might be 'python' instead of 'python3' on Windows systems
python3 -m optimserver.workerapp.migration.migrate_workerapp_config --src=3.0.1 --dst=3.1.0 --type=WORKER_YAML --input INPUT --output OUTPUT

Make sure the output file complies with the description below.

- scripted-tasks
+ shell-tasks:
  - id: kcoloring-python
    ...

dbos-infra

Break changes: adjust code (see this page for more details)

The global.target property value has changed from kubernetes to k8s if Optimization Server is meant to be deployed on a Kubernetes cluster.

The global.target property is migrated by calling the Python helper script :

// Might be 'python' instead of 'python3' on Windows systems
python3 -m optimserver.helm.migration.migrate_helm_values --src=3.0.1 --dst=3.1.0 --chart=DBOS_INFRA --input INPUT --output OUTPUT

Make sure the output file complies with the description of the section below.

global:
- target: kubernetes
+ target: k8s
  ...

dbos

Break changes: adjust code (see this page for more details)

The global.target property value has changed from kubernetes to k8s if Optimization Server is meant to be deployed on a Kubernetes cluster.

The global.target property is migrated by calling the Python helper script :

// Might be 'python' instead of 'python3' on Windows systems
python3 -m optimserver.helm.migration.migrate_helm_values --src=3.0.1 --dst=3.1.0 --chart=DBOS_APP --input INPUT --output OUTPUT

Make sure the output file complies with the description of the section below.

global:
- target: kubernetes
+ target: k8s
  ...