Pular para o conteúdo principal

Helm Values Reference

Complete reference for all configurable values in the byjg/easyhaproxy Helm chart.

Image Configuration

ValueDescriptionDefault
image.repositoryContainer image repositorybyjg/easy-haproxy
image.tagImage tag. Defaults to the chart appVersion.""
image.pullPolicyImage pull policyAlways
imagePullSecretsList of image pull secret names[]
nameOverrideOverride the chart name""
fullnameOverrideOverride the full release name""

Deployment Mode

Controls whether EasyHAProxy runs as a Deployment (with a Service) or a DaemonSet (binding to host ports).

ValueDescriptionDefault
replicaCountNumber of replicas (only used when service.create: true)1
service.createtrue → Deployment + Service (NodePort or ClusterIP). false → DaemonSet with host ports.false
service.typeService type when service.create: true: NodePort or ClusterIPClusterIP
service.annotationsAnnotations to add to the Service resource{}
Recommended mode

Set service.create: true and service.type: NodePort for most setups. DaemonSet mode (service.create: false) requires maintaining a node label across node replacements, which can cause outages if forgotten.

Port Binding

ValueDescriptionDefault
binding.ports.httpHTTP port80
binding.ports.httpsHTTPS port443
binding.ports.statsHAProxy stats port1936
binding.ports.dashboardMonitoring dashboard port (always stats + 10000 inside the pod)11936
binding.additionalPortsList of additional ports to expose[]

EasyHAProxy Settings

ValueDescriptionDefault
easyhaproxy.stats.usernameHAProxy stats usernameadmin
easyhaproxy.stats.passwordHAProxy stats password. Required to enable the stats endpoint and dashboard.password
easyhaproxy.stats.corsOriginAllowed origin for stats API CORS (e.g. http://node01:11936). Required for the dashboard to load in a browser.""
easyhaproxy.refreshSeconds between service discovery polls"10"
easyhaproxy.customErrorsEnable custom HTML error pages"true"
easyhaproxy.sslModeTLS mode: strict, default, or looseloose
easyhaproxy.logLevel.certbotLog level for CertbotDEBUG
easyhaproxy.logLevel.easyhaproxyLog level for EasyHAProxyDEBUG
easyhaproxy.logLevel.haproxyLog level for HAProxyDEBUG
easyhaproxy.certbot.emailEmail address for Let's Encrypt / ACME registration""

Ingress Status

Controls how EasyHAProxy updates Kubernetes Ingress resources with load-balancer IPs.

ValueDescriptionDefault
ingressStatus.enabledUpdate Ingress resources with load-balancer IPstrue
ingressStatus.deploymentModeHow to detect/report IPs: auto, daemonset, nodeport, or clusterip. auto is recommended.auto
ingressStatus.externalHostnameHostname to report in Ingress status (for ClusterIP mode without a LoadBalancer)""
ingressStatus.updateIntervalSeconds between Ingress status updates30

DaemonSet Node Selection

Only applies when service.create: false

These values are ignored when running as a Deployment (service.create: true).

ValueDescriptionDefault
masterNode.labelNode label key used for nodeAffinityeasyhaproxy/node
masterNode.valuesAccepted values for the node label["master"]

Label the target node before installing:

kubectl label nodes node-01 "easyhaproxy/node=master"

Standard Kubernetes Fields

ValueDescriptionDefault
podAnnotationsAnnotations added to the EasyHAProxy pod{}
resourcesCPU/memory requests and limits for the pod{}
nodeSelectorNode selector for pod scheduling{}
tolerationsTolerations for pod scheduling[]
affinityAffinity rules for pod scheduling{}
podSecurityContextPod-level security context{}
securityContextContainer-level security context{}

Service Account

ValueDescriptionDefault
serviceAccount.createCreate a dedicated ServiceAccounttrue
serviceAccount.annotationsAnnotations to add to the ServiceAccount{}
serviceAccount.nameName of the ServiceAccount. Auto-generated if empty.""

Ingress Class

ValueDescriptionDefault
ingressClass.createCreate an IngressClass resource named easyhaproxytrue
ingressClass.annotationsAnnotations to add to the IngressClass{}

Open source ByJG