default-job
Reference for humanitec/default-job Workload Profile
This Workload Profile generates a of Kubernetes Job that is run at deployment time.

Features

Feature
Description
Specify Annotations that will be added to Pods generated for the workload.
Add one or more containers to the workload.
labels
Specify Labels that will be added to Pods generated for the workload.
Specify the Service Account pods should run under.

Example

{
"containers": {
"my-container": {
"id": "sample-service",
"image": "registry.humanitec.io/public/sample-service:1.2.0",
"resources": {
"limits": {
"cpu": "0.250",
"memory": "256Mi"
},
"requests": {
"cpu": "0.025",
"memory": "64Mi"
}
},
"variables": {
"MY_ENV_VAR": "Hello World!"
}
}
},
"labels": {
"prometheus-name": "my-job"
},
"serviceAccountName": "my-service-account"
}
Copy link
On this page
Features
Example