esphome

by alekc

Helm chartv2.11.1App 2026.11.1Verified publisher

ESPHome dashboard for configuring, compiling, and flashing ESP8266/ESP32 microcontrollers from simple YAML files, then controlling them from Home Assistant or any MQTT/API consumer.

About this chart

esphome

ESPHome dashboard for configuring, compiling, and flashing ESP8266/ESP32 microcontrollers from simple YAML files, then controlling them from Home Assistant or any MQTT/API consumer.

ESPHome generates and compiles firmware for ESP8266/ESP32 microcontrollers from a YAML file per device, flashes it over the network, and exposes each device to Home Assistant (or any Native API/MQTT consumer) without hand-written C++. This chart runs the dashboard as a Deployment with an optional Ingress and HorizontalPodAutoscaler.

Quick start

From the classic chart repository:

helm repo add alekc https://charts.alekc.dev
helm repo update
helm install my-esphome alekc/esphome \
  --set ingress.enabled=true \
  --set ingress.hosts[0].host=esphome.example.com \
  --set persistence.enabled=true

Or directly from the OCI registry, no helm repo add needed:

helm install my-esphome oci://charts.alekc.dev/esphome --version 2.8.0

Verifying the signature

curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/esphome --version 2.8.0 --verify --keyring pubring.gpg

Maintainers

NameEmailUrl
alekc[email protected]https://blog.alekc.org

Source Code

Gotchas

  • persistence.enabled: false (the default) uses an emptyDir, every device config and the dashboard's own state is lost on pod restart. Enable persistence for anything beyond a quick trial.
  • networkPolicy.enabled allows broad egress to 0.0.0.0/0 by default. ESPHome talks directly to your devices on the LAN for OTA flashing and mDNS discovery, both entirely outside the cluster's pod network, so there's no small fixed CIDR to narrow this to out of the box. Narrow it with networkPolicy.extraEgress if your environment allows it.
  • HPA and Ingress pick their API version from .Capabilities.KubeVersion/render only networking.k8s.io/v1, so both already render correctly on any cluster this chart's values.schema.json and CI target (Kubernetes 1.34), no chart-side action needed on an upgrade.

Upgrade notes

No breaking changes yet. This section will list migration steps for any future release with a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.

Values

KeyTypeDefaultDescription
additionalManifestsobject{}Additional raw Kubernetes manifests to render alongside the chart's own resources. Supports any valid Kubernetes object; values are templated with tpl, so a manifest can reference .Release.Namespace and friends.
affinityobject{}Affinity rules for pod scheduling.
annotations.deploymentobject{}Deployment's annotations
autoscaling.annotationsobject{}Annotations to add to the HorizontalPodAutoscaler
autoscaling.enabledboolfalseRenders a HorizontalPodAutoscaler instead of a fixed replicaCount.
autoscaling.maxReplicasint100Maximum replica count.
autoscaling.minReplicasint1Minimum replica count.
autoscaling.targetCPUUtilizationPercentageint80Target average CPU utilization percentage.
commonAnnotationsobject{}Annotations merged onto every resource this chart renders, in addition to each resource's own dedicated annotations field.
commonLabelsobject{}Labels merged onto every resource this chart renders. Never reaches selector/matchLabels, safe to change without forcing a Deployment recreate.
deployment.strategyobject{"type":"RollingUpdate"}Deployment strategy. RollingUpdate is safe here: /config holds device YAML configs, not a live lock a second pod would conflict on.
envobject{"full":[],"simple":{"ESPHOME_DASHBOARD_USE_PING":true}}environment values
env.fulllist[]full envs, they will be rendered as written here. Useful if you need to use secrets/cm
env.simpleobject{"ESPHOME_DASHBOARD_USE_PING":true}simple key: val based env vars
extraContainerslist[]Extra sidecar containers appended to the pod spec, templated with tpl so they can reference .Release.Namespace and friends.
fullnameOverridestring""Overrides the full resource name, instead of the default <release>-<chart> pattern.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"esphome/esphome"Image repository.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets, for a private registry mirror.
ingress.annotationsobject{}Annotations to add to the Ingress
ingress.classNamestring""IngressClass name, e.g. "nginx" or "traefik"
ingress.enabledboolfalseRenders an Ingress for the Service.
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress host and path rules
ingress.tlslist[]TLS configuration for the Ingress
initContainerslist[]Extra init containers appended to the pod spec, templated with tpl.
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}Liveness probe configuration.
nameOverridestring""Overrides the chart name used to build resource names.
networkPolicy.annotationsobject{}Annotations to add to the NetworkPolicy
networkPolicy.enabledboolfalseRender a NetworkPolicy restricting ingress to the Service port and egress to DNS plus whatever extraEgress adds. ESPHome talks directly to devices on your LAN for OTA flashing and mDNS discovery, which is outside the cluster's pod network, so egress here is broad by default, see Gotchas.
networkPolicy.extraEgresslist[]Additional raw egress rules, appended as-is under spec.egress.
networkPolicy.extraIngresslist[]Additional raw ingress rules, appended as-is under spec.ingress.
nodeSelectorobject{}Node selector for pod scheduling.
persistence.accessModestring"ReadWriteOnce"Access mode for the created PVC.
persistence.additionalMountslist[]if you need any additional volume mounts, you can define them here
persistence.additionalVolumeslist[]if you need any additional volumes, you can define them here
persistence.annotationsobject{}Annotations to add to the PersistentVolumeClaim
persistence.enabledboolfalseRender a PersistentVolumeClaim and mount it at /config. When false, an emptyDir is used instead and every device config is lost on restart.
persistence.existingClaimstring""Use an existing PVC instead of creating one.
persistence.sizestring"800Mi"Requested size for the created PVC.
persistence.storageClassstring""StorageClass for the created PVC. Empty uses the cluster default.
podAnnotationsobject{}Annotations added to the pod template.
podSecurityContextobject{}Pod-level securityContext.
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}Readiness probe configuration.
replicaCountint1Pod replica count. Ignored when autoscaling.enabled is true. See Gotchas before scaling beyond 1: /config is a single volume shared by every replica.
resourcesobject{}Container resource requests/limits.
revisionHistoryLimitint3Number of old ReplicaSets to retain for rollback.
securityContextobject{}Container-level securityContext.
service.annotationsobject{}Annotations to add to the Service
service.portint6052Service port, forwards to the container's dashboard port.
service.typestring"ClusterIP"Kubernetes Service type.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
tolerationslist[]Tolerations for pod scheduling.

Deploy esphome with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has esphome on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartesphome is pinned at v2.11.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply