Search…
Serial Deployments
By default, deployments in Release are done serially; that is all charts, services, and jobs execute in the order they are defined in the Application Template. There are a few cases where the order may not be obvious: whenever the keywords charts.all, services.all, and/or jobs.all are referenced. However, the order of each step in the array is normally well-defined and you can count on the execution order whenever the steps are explicit. Typically the *.all keywords are used as a catch-all to ensure that no services or jobs are forgotten.
Here are a few examples you can use to visualise the workflow:
1
workflows:
2
- name: setup
3
order_from:
4
- jobs.migrate
5
- services.all
6
- jobs.setup
7
- name: patch
8
order_from:
9
- jobs.migrate
10
- services.backend
11
- services.frontend
12
- name: teardown
13
order_from:
14
- release.remove_environment
Copied!
This would yield the following steps:
Serial Workflow example
Copy link