Skip to content

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 ​

ArgNotes
name-

Optional Args ​

ArgDefaultNotes
namespace"default"-
labels{ inherit name; app = name; tier = "haproxy"; }-
image_base"haproxy"-
image_tag"3.2.0"-
image"${image_base}:${image_tag}"-
port8443-
altPortnull-
command[ "haproxy" "-W" "-db" "-f" "/etc/haproxy/haproxy.cfg" ]-
replicas1-
cpuRequest"0.2"-
cpuLimit"1.0"-
memoryRequest"512Mi"-
memoryLimit"2048Mi"-
secretif haproxy-cfg != "" then "haproxy-cfg-${name}" else ""-
haproxy-cfg""-
autoscalefalse-
extraEnv[ ]-
envAttrs{ }-
tailscalefalse-
hostAliases[ ]-
readinessProbenull-
maxUnavailable0-
maxSurge"50%"-
extraService{ }escape hatch to inject other service spec
extraDeploymentAnnotations{ }-

Back to svc Index