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 | Notes |
|---|---|
name | - |
Optional Args ​
| Arg | Default | Notes |
|---|---|---|
image | "curlimages/curl:8.5.0" | - |
schedule | "0 * * * *" | hourly at :00 |
timeZone | "UTC" | UTC - use tz like "America/New_York" for EST |
labels | [ ] | - |
namespace | "default" | - |
failedJobsHistoryLimit | 3 | - |
successfulJobsHistoryLimit | 3 | - |
cpuRequest | "100m" | - |
cpuLimit | null | - |
memoryRequest | "100Mi" | - |
memoryLimit | null | - |
ephemeralStorageRequest | null | - |
ephemeralStorageLimit | null | - |
env | [ ] | - |
envAttrs | { } | - |
envFrom | [ ] | - |
sa | "default" | - |
command | null | - |
args | null | - |
restartPolicy | "Never" | - |
imagePullPolicy | "Always" | - |
imagePullSecrets | [ ] | - |
volumes | [ ] | - |
concurrencyPolicy | "Allow" | Allow, Forbid, Replace |
securityContext | { } | - |
extra | { } | 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 | Notes |
|---|---|
name | - |
Optional Args ​
| Arg | Default | Notes |
|---|---|---|
image | "ghcr.io/jpetrucciani/k8s-aws:latest" | - |
schedule | "0 * * * *" | hourly at :00 |
timeZone | "UTC" | UTC - use tz like "America/New_York" for EST |
labels | [ ] | - |
namespace | "default" | - |
failedJobsHistoryLimit | 3 | - |
successfulJobsHistoryLimit | 3 | - |
cpuRequest | "100m" | - |
cpuLimit | null | - |
memoryRequest | "100Mi" | - |
memoryLimit | null | - |
ephemeralStorageRequest | null | - |
ephemeralStorageLimit | null | - |
roleRules | [ { apiGroups = [ "" ]; resources = [ "pods" ]; verbs = [ "delete" "get" "list" ]; } ] | - |
env | [ ] | - |
envAttrs | { } | - |
envFrom | [ ] | - |
command | "bash" | - |
args | [ "-c" ''kubectl get pods'' ] | - |
restartPolicy | "OnFailure" | - |
concurrencyPolicy | "Allow" | Allow, Forbid, Replace |
extraCron | { } | extra escape hatch to use any other options! |
extraCronContainer | { } | extra escape hatch to use any other options! |