Understanding the Base Job Template Structure
The base job template uses a two-part structure:- variables: Define configurable parameters with defaults and descriptions
- job_configuration: Reference variables using
{{ variable_name }}syntax to apply them to the Kubernetes job manifest
Accessing the Base Job Template
You can customize the base job template in two ways:- Through the UI: Navigate to your work pool → Advanced tab → Edit the JSON representation
- Through the CLI: Get the default template to use as a starting point:
Common Configuration Patterns
Environment Variables
Configure environment variables to pass configuration to your flow runs:Secret References
Reference Kubernetes secrets to inject sensitive data:Image Pull Secrets
Configure authentication for private container registries:Resource Limits and Requests
Set CPU and memory resource constraints:Combining Multiple Configurations
These examples show individual configurations. In practice, you’ll combine multiple configurations in a single base job template. Remember that any modifications replace the entire default configuration, so include all necessary fields when customizing.
variables and job_configuration sections. For example, to combine environment variables with resource limits:
Next Steps
- Learn more about Kubernetes work pools
- See how to run flows on Kubernetes
- Explore overriding job variables