hex.k8s.cron ​
- Source: module
- Function count: 2
hex.k8s.cron.build ​
Copy Call Skeleton ​
nix
(hex.k8s.cron.build {
name = "build";
})Required Args ​
| Arg | Type | Notes |
|---|---|---|
name | unknown | - |
Optional Args ​
| Arg | Type | Default | Notes |
|---|---|---|---|
image | string | "curlimages/curl:8.5.0" | - |
schedule | string | "0 * * * *" | hourly at :00 |
timeZone | string | "UTC" | UTC - use tz like "America/New_York" for EST |
labels | list | [ ] | - |
namespace | string | "default" | - |
failedJobsHistoryLimit | number | 3 | - |
successfulJobsHistoryLimit | number | 3 | - |
cpuRequest | string | "100m" | - |
cpuLimit | null | null | - |
memoryRequest | string | "100Mi" | - |
memoryLimit | null | null | - |
ephemeralStorageRequest | null | null | - |
ephemeralStorageLimit | null | null | - |
env | list | [ ] | - |
envAttrs | attrset | { } | - |
envFrom | list | [ ] | - |
sa | string | "default" | - |
command | null | null | - |
args | null | null | - |
restartPolicy | string | "Never" | - |
imagePullPolicy | string | "Always" | - |
imagePullSecrets | list | [ ] | - |
volumes | list | [ ] | - |
concurrencyPolicy | string | "Allow" | Allow, Forbid, Replace |
securityContext | attrset | { } | - |
extra | attrset | { } | extra escape hatch to use any other options! |
hex.k8s.cron.kube_cron.build ​
Copy Call Skeleton ​
nix
(hex.k8s.cron.kube_cron.build {
name = "build";
})Required Args ​
| Arg | Type | Notes |
|---|---|---|
name | unknown | - |
Optional Args ​
| Arg | Type | Default | Notes |
|---|---|---|---|
image | string | "ghcr.io/jpetrucciani/k8s-aws:latest" | - |
schedule | string | "0 * * * *" | hourly at :00 |
timeZone | string | "UTC" | UTC - use tz like "America/New_York" for EST |
labels | list | [ ] | - |
namespace | string | "default" | - |
failedJobsHistoryLimit | number | 3 | - |
successfulJobsHistoryLimit | number | 3 | - |
cpuRequest | string | "100m" | - |
cpuLimit | null | null | - |
memoryRequest | string | "100Mi" | - |
memoryLimit | null | null | - |
ephemeralStorageRequest | null | null | - |
ephemeralStorageLimit | null | null | - |
roleRules | list | [ { apiGroups = [ "" ]; resources = [ "pods" ]; verbs = [ "delete" "get" "list" ]; } ] | - |
env | list | [ ] | - |
envAttrs | attrset | { } | - |
envFrom | list | [ ] | - |
command | string | "bash" | - |
args | list | [ "-c" ''kubectl get pods'' ] | - |
restartPolicy | string | "OnFailure" | - |
concurrencyPolicy | string | "Allow" | Allow, Forbid, Replace |
extraCron | attrset | { } | extra escape hatch to use any other options! |
extraCronContainer | attrset | { } | extra escape hatch to use any other options! |