adguard-home
by HelmForge
AdGuard Home network-wide ad and tracker blocking DNS server with sync and S3 backup
About this chart
AdGuard Home
A Helm chart for deploying AdGuard Home on Kubernetes using the official adguard/adguardhome container image.
Installation
HTTPS Repository
helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install adguard-home helmforge/adguard-home
OCI Registry
helm install adguard-home oci://ghcr.io/helmforgedev/helm/adguard-home
Quick Start
By default, the chart starts in wizard mode (port 3000). Complete the setup wizard through the web UI to configure AdGuard Home.
helm install adguard-home oci://ghcr.io/helmforgedev/helm/adguard-home
# Access the setup wizard
kubectl port-forward svc/adguard-home-web 3000:80
# Then visit http://localhost:3000
To skip the wizard and deploy a pre-configured instance, provide config.adGuardHome with your desired configuration. See the preconfigured example.
Upstream Version Notes
AdGuard Home 1.0.0 introduces a completely modernized and responsive web interface,
lighter memory footprint, and updated default upstream resolvers (Cloudflare DNS instead
of Quad9 for new installs). The configuration schema remains backward-compatible with
0.107.x without requiring manual schema migration.
The 0.107.76 release notes also state that YAML duration values now support
d day units. If you roll back to a version below v0.107.76, convert any d
duration values in config.adGuardHome back to hours first.
Features
- Network-Wide Ad Blocking - DNS-level filtering for all devices on the network
- Two Deployment Modes - wizard mode for initial setup or pre-configured mode for automated deployments
- DNS over HTTPS / TLS - configurable encrypted upstream DNS
- AdGuardHome Sync - optional multi-instance synchronization via adguardhome-sync
- S3 Backup - automated CronJob-based backup to any S3-compatible storage
- Separate DNS Service - dedicated LoadBalancer for DNS traffic independent of the web UI
- Dual-Stack -
ipFamilyPolicy/ipFamilieson both web and DNS services for IPv4/IPv6 clusters - Gateway API - opt-in
HTTPRoutefor the web UI (alternative to Ingress; requires Gateway API CRDs) - ExternalSecrets - opt-in
ExternalSecretto sourceAdGuardHome.yamlfrom an external secrets store - Ingress Support - configurable ingress with TLS for the web admin interface
- Config Seeding - initial configuration is preserved across upgrades (only seeded on first run)
- Volume Permission Guard - optional init container normalizes mounted volume permissions before startup
Configuration
Wizard Mode (Default)
# No config.adGuardHome - wizard runs on first access at port 3000
service:
dns:
type: LoadBalancer
loadBalancerIP: "192.168.1.53"
Pre-Configured Mode
config:
adGuardHome:
http:
address: 0.0.0.0:80
users:
- name: admin
# bcrypt hash - generate with: htpasswd -bnBC 10 "" 'PASSWORD' | cut -d: -f2
password: "$2y$10$..."
dns:
bind_hosts:
- 0.0.0.0
port: 53
upstream_dns:
- https://dns.cloudflare.com/dns-query
- https://dns.google/dns-query
bootstrap_dns:
- 1.1.1.1
- 8.8.8.8
protection_enabled: true
filtering_enabled: true
filters:
- enabled: true
url: https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt
name: AdGuard DNS filter
id: 1
schema_version: 29
service:
dns:
type: LoadBalancer
loadBalancerIP: "192.168.1.53"
Production (Full Setup)
config:
adGuardHome:
http:
address: 0.0.0.0:80
users:
- name: admin
password: "$2y$10$..."
dns:
bind_hosts:
- 0.0.0.0
port: 53
upstream_dns:
- https://dns.cloudflare.com/dns-query
bootstrap_dns:
- 1.1.1.1
schema_version: 29
persistence:
conf:
size: 512Mi
work:
size: 5Gi
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
service:
dns:
type: LoadBalancer
loadBalancerIP: "192.168.1.53"
ingress:
enabled: true
ingressClassName: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: adguard.example.com
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- adguard.example.com
secretName: adguard-home-tls
sync:
enabled: true
origin:
url: "http://adguard-primary:80"
username: admin
password: changeme
replicas:
- url: "http://adguard-replica:80"
username: admin
password: changeme
backup:
enabled: true
s3:
endpoint: https://s3.us-east-1.amazonaws.com
bucket: adguard-backups
accessKey: AKIAIOSFODNN7EXAMPLE
secretKey: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Parameters
Image
| Key | Default | Description |
|---|---|---|
image.repository | docker.io/adguard/adguardhome | Container image |
image.tag | v1.0.0 | Image tag |
image.pullPolicy | IfNotPresent | Pull policy |
General Configuration
| Key | Default | Description |
|---|---|---|
config.adGuardHome | {} | Pre-seed AdGuardHome.yaml config (empty = wizard mode) |
config.existingSecret | "" | Existing Secret with AdGuardHome.yaml key |
commonAnnotations | {} | Annotations added to every chart-owned resource; resource-specific annotations take precedence |
Application Listeners
| Key | Default | Description |
|---|---|---|
containerPorts.setup | 3000 | Initial setup wizard listener passed to --web-addr |
containerPorts.http | 80 | Configured admin UI listener passed to --web-addr |
containerPorts.dns | 53 | DNS listener written into chart-managed AdGuardHome.yaml |
The application listener and public Service port are independent. The active
web listener is containerPorts.setup in wizard mode and containerPorts.http
when a configuration is supplied. The chart passes that value to AdGuard Home's
--web-addr argument, while Services continue to target the named http port.
For chart-managed configuration, containerPorts.dns is written into
dns.port. If config.existingSecret or a previously initialized configuration
PVC is used, its dns.port must match containerPorts.dns. In wizard mode,
select containerPorts.dns as the DNS listener before completing setup; the
wizard otherwise proposes port 53, which will not match a custom Service
target.
Persistence
| Key | Default | Description |
|---|---|---|
persistence.conf.enabled | true | Enable conf volume (/opt/adguardhome/conf) |
persistence.conf.size | 256Mi | Conf PVC size |
persistence.conf.storageClass | "" | Storage class |
persistence.conf.existingClaim | "" | Use existing PVC |
persistence.work.enabled | true | Enable work volume (/opt/adguardhome/work) |
persistence.work.size | 2Gi | Work PVC size |
persistence.work.storageClass | "" | Storage class |
persistence.work.existingClaim | "" | Use existing PVC |
Services
| Key | Default | Description |
|---|---|---|
service.web.type | ClusterIP | Web UI service type |
service.web.port | 80 | Web UI port |
service.web.ipFamilyPolicy | ~ | Dual-stack policy (SingleStack, PreferDualStack, RequireDualStack) |
service.web.ipFamilies | [] | IP families (IPv4, IPv6) |
service.dns.type | LoadBalancer | DNS service type |
service.dns.port | 53 | DNS port |
service.dns.extraPorts | [] | Additional named DNS service ports, such as DNS-over-TLS on TCP 853 |
service.dns.loadBalancerIP | "" | Fixed IP for DNS stability |
service.dns.externalTrafficPolicy | Cluster | Traffic policy for external traffic (Cluster, Local). Set to Local to preserve client source IP |
service.dns.ipFamilyPolicy | ~ | Dual-stack policy (SingleStack, PreferDualStack, RequireDualStack) |
service.dns.ipFamilies | [] | IP families (IPv4, IPv6) |
Ingress
| Key | Default | Description |
|---|---|---|
ingress.enabled | false | Enable ingress for web UI |
ingress.ingressClassName | traefik | Ingress class (traefik, nginx, etc.) |
ingress.hosts | [] | Ingress hosts and paths |
ingress.tls | [] | TLS configuration |
Probes
| Key | Default | Description |
|---|---|---|
probes.startup.enabled | true | Enable startup probe |
probes.liveness.enabled | true | Enable liveness probe |
probes.readiness.enabled | true | Enable readiness probe |
Security
| Key | Default | Description |
|---|---|---|
podSecurityContext.seccompProfile.type | RuntimeDefault | Runtime-default seccomp profile |
securityContext.allowPrivilegeEscalation | false | Prevent privilege escalation |
securityContext.capabilities.drop | [ALL] | Drop all Linux capabilities before adding the required exception |
securityContext.capabilities.add | [NET_BIND_SERVICE] | Permit binding the configured DNS listener when it uses a privileged port |
serviceAccount.automountServiceAccountToken | false | Mount the Kubernetes API token into chart workloads |
initPermissions.enabled | true | Normalize /opt/adguardhome/conf and /opt/adguardhome/work permissions before startup |
initPermissions.image.repository | docker.io/library/busybox | Init permissions container image |
initPermissions.image.tag | 1.37 | Init permissions image tag |
initPermissions.securityContext.capabilities.add | [CHOWN, DAC_OVERRIDE, FOWNER] | Baseline-compatible capabilities for PVC ownership, recursive traversal, and directory mode updates |
initPermissions.resources | {} | Init permissions resource requests/limits |
When securityContext.runAsUser or podSecurityContext.runAsUser is configured for a non-root runtime, pre-seed AdGuardHome.yaml with
config.adGuardHome or config.existingSecret. The interactive setup wizard requires administrator privileges on first launch;
pre-seeded mode runs successfully with non-root UID and podSecurityContext.fsGroup.
The optional NetworkPolicy allows inbound traffic only on the active web and
DNS listeners. With an empty networkPolicy.ingressFrom, those ports remain
reachable from all sources, which preserves LoadBalancer DNS traffic. Supply
explicit peers to restrict sources. Egress stays unrestricted unless
networkPolicy.extraEgress contains rules; a non-empty list enables egress
isolation and must include every required upstream DNS and HTTPS destination.
| Key | Default | Description |
|---|---|---|
networkPolicy.enabled | false | Render a NetworkPolicy for the server pod |
networkPolicy.ingressFrom | [] | Optional peers allowed to reach the declared listeners |
networkPolicy.extraIngress | [] | Additional complete ingress rules |
networkPolicy.extraEgress | [] | Complete egress rules; non-empty enables egress isolation |
Sync (adguardhome-sync)
| Key | Default | Description |
|---|---|---|
sync.enabled | false | Enable sync Deployment |
sync.image.tag | v0.9.0 | Sync image version |
sync.origin.url | "" | Origin instance URL |
sync.origin.username | "" | Origin admin username |
sync.origin.password | "" | Origin admin password |
sync.replicas | [] | Replica instances (url, username, password) |
sync.cron | */10 * * * * | Sync schedule (empty = daemon mode) |
sync.runOnStart | true | Sync immediately on startup |
sync.existingSecret | "" | Pre-created Secret for credentials |
Backup
| Key | Default | Description |
|---|---|---|
backup.enabled | false | Enable backup CronJob |
backup.schedule | 0 2 * * * | Backup schedule |
backup.s3.endpoint | "" | S3-compatible endpoint URL |
backup.s3.region | "" | AWS region required by workload identity |
backup.s3.bucket | "" | Target bucket |
backup.s3.prefix | adguard-home | Prefix inside bucket |
backup.s3.accessKey | "" | Inline access key |
backup.s3.secretKey | "" | Inline secret key |
backup.s3.existingSecret | "" | Pre-created Secret for S3 credentials |
backup.s3.credentialsFromPodIdentity | false | Use IRSA or EKS Pod Identity instead of static keys |
backup.serviceAccount.create | true | Create the dedicated backup ServiceAccount |
backup.serviceAccount.name | "" | Existing dedicated ServiceAccount when creation is disabled |
backup.serviceAccount.annotations | {} | IRSA or other workload identity annotations |
backup.serviceAccount.automountServiceAccountToken | false | Mount a Kubernetes API token into backup Pods |
For IRSA, annotate the dedicated ServiceAccount and enable workload identity:
backup:
enabled: true
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/adguard-home-backup
s3:
endpoint: https://s3.amazonaws.com
region: us-east-1
bucket: adguard-home-backups
credentialsFromPodIdentity: true
EKS Pod Identity does not use a ServiceAccount annotation. Set a stable
backup.serviceAccount.name, install the EKS Pod Identity Agent unless the
cluster uses EKS Auto Mode, and create the AWS-side association for the
release namespace and ServiceAccount.
Gateway API
| Key | Default | Description |
|---|---|---|
gateway.enabled | false | Render an HTTPRoute for the web UI (requires Gateway API CRDs) |
gateway.annotations | {} | Annotations for t |
Deploy adguard-home with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has adguard-home 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartadguard-home is pinned at v1.5.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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