Job Components
Job components are used to execute jobs inside of an install.
Job components allow you to execute one time jobs in an install. Please refer to the Job Component reference for full configuration options.
Job components are currently only supported by aws-eks
sandboxes.
If you have a use case for using jobs with an aws-ecs
sandbox please get in touch.
Configuring a Job component
You can configure a job component to execute commands in a container image. Using variables you can reference other component images, and configure environment variables for the job.
Using a Published Image
You can run any published Docker image.
Using a Custom Image
You can also use an image component.
In order to use custom images with job components, you must specify either a docker build or container image as a dependency and use variables.
Configuration
You can use variables to configure both the environment and images in a job component.
Some common examples of using variables to configure job components:
Use cases
Job components are designed to be an escape hatch to allow you to run any operational commands needed.
Common use cases include:
- running database imports to import data for a customer install.
- running database migrations.
- running operational debugging commands to inspect an install.
- deploying or provisioning custom resources not supported by other components.
- modifying
kubernetes
resources, such as adding secrets.