pihole

by AlexPresso

Helm chartv1.2.13App 2025.07.1Verified publisher

Installs pihole in kubernetes

About this chart

Pi-hole Helm Chart

This Helm chart deploys Pi-hole, a network-wide ad blocker, on a Kubernetes cluster. It provides customizable configurations to suit various deployment needs.

Prerequisites

  • Kubernetes 1.12+
  • Helm 3.0+

Installation

To install the chart with the release name my-pihole:

helm repo add alexpresso https://helm.alexpresso.me/
helm install my-pihole alexpresso/pihole

Configuration

The following table lists the configurable parameters of the Pi-hole chart and their default values.

ParameterDescriptionDefault
timezoneTimezone for the Pi-hole instanceAmerica/Chicago
hostNetworkEnable host network mode (recommended for DHCP)false
image.tagTag of the Pi-hole image to use2025.03.0
webinterface.passwordPassword for the Pi-hole web interface(empty)
webinterface.portPort for the Pi-hole web interface8080
webinterface.service.enableEnable a separate service for the web interfacetrue
webinterface.service.typeType of service for the web interfaceLoadBalancer
dns.adlistList of URLs to ad block listsSee values.yaml

For a comprehensive list of configuration options, refer to the values.yaml file in the chart repository.

Uninstallation

To uninstall/delete the my-pihole deployment:

helm uninstall my-pihole

The command removes all the Kubernetes components associated with the chart and deletes the release.


Deploy pihole with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pihole 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 chartpihole is pinned at v1.2.13 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