Skip to content

Specify startup jobs #695

@filippomc

Description

@filippomc

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions