Jobs are useful to do one time initializations, migrations, etc
Jobs should be defined similarly to deployments in the values.yaml
harness:
init:
image: # defaults to the application image if null, or can be specified to use a different image
auto: true
commands: []
shareVolume: true
If auto is true, a job is created with the same context of the deployment (variables, volumes).
Since a volume can be shared it is important to add pod affinity
Jobs are useful to do one time initializations, migrations, etc
Jobs should be defined similarly to deployments in the values.yaml
If
autois true, a job is created with the same context of the deployment (variables, volumes).Since a volume can be shared it is important to add pod affinity