zenhubhq/Run Kubernetes Job
Create a K8s Job and tails its logs until it fails or complete
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| namespace | namespace to use (can be also created and/or deleted after use) | yes | — |
| name | job name to create in namespace | yes | — |
| image | image to run the job on | yes | — |
| command | command the job will run, can be "cmd arg" or "['cmd', 'arg']" | no | [] |
| createNamespace | [true/false] whether to create the namespace, default to false | no | false |
| deleteNamespace | [true/false] whether to delete the namespace if the job complete in time | no | false |
| timeoutMinuteStartContainer | in minutes, how long to wait for pulling image and starting container, does not apply once the container is running. Use action timeout_minute to timeout the overall Job run | no | 10 |
| backoffLimit | how many times to retry running the Job | no | 1 |
| requestsCPU | how much CPU resources request from system to run this job | yes | 1 |
| requestsMEM | how much MEM resources request from system to run this job | yes | 1Gi |
| limitCPU | how much CPU resources this job can consume | yes | 2 |
| limitMEM | how much MEM resources this job can consume | yes | 2Gi |
Outputs
no outputs