hex.k8s.svc.haproxy ​
- Source: module
- Total args: 26
- default image_tag:
"3.2.0"
Copy Spec Skeleton ​
nix
(hex.k8s.svc.haproxy {
name = "haproxy";
})Required Args ​
| Arg | Notes |
|---|---|
name | - |
Optional Args ​
| Arg | Default | Notes |
|---|---|---|
namespace | "default" | - |
labels | { inherit name; app = name; tier = "haproxy"; } | - |
image_base | "haproxy" | - |
image_tag | "3.2.0" | - |
image | "${image_base}:${image_tag}" | - |
port | 8443 | - |
altPort | null | - |
command | [ "haproxy" "-W" "-db" "-f" "/etc/haproxy/haproxy.cfg" ] | - |
replicas | 1 | - |
cpuRequest | "0.2" | - |
cpuLimit | "1.0" | - |
memoryRequest | "512Mi" | - |
memoryLimit | "2048Mi" | - |
secret | if haproxy-cfg != "" then "haproxy-cfg-${name}" else "" | - |
haproxy-cfg | "" | - |
autoscale | false | - |
extraEnv | [ ] | - |
envAttrs | { } | - |
tailscale | false | - |
hostAliases | [ ] | - |
readinessProbe | null | - |
maxUnavailable | 0 | - |
maxSurge | "50%" | - |
extraService | { } | escape hatch to inject other service spec |
extraDeploymentAnnotations | { } | - |