One property in the worker.yml
of the workers is deprecated.
Optimization Server 3.1.0 introduces one break change in the Helm charts.
Library | Backward compatibility | Deprecations |
---|---|---|
Master API client | Backward compatible | |
Worker (Java) | Backward compatible | Deprecations |
Worker (Python) | Backward compatible | Deprecations |
Chart | Backward compatibility | Deprecations |
---|---|---|
dbos-volume | Backward compatible | |
dbos-secrets | Backward compatible | |
dbos-infra | Break changes: adjust code | |
dbos | Break changes: adjust code |
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 :
python -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
...
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 :
python -m 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
...
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 :
python -m 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
...