unifi-controller

by jespernohr

Helm chartv2.3.2App 7.5.176Verified publisher

A Helm Chart for deploying a UniFi controller to Kubernetes

About this chart

Unifi Controller Helm Chart

The UniFi Controller helm chart installs a unifi controller software onto your kubernetes cluster. A Kubernetes cluster (k3s, kind, K8s, or anything else) is required. For exposing the ports, MetalLB or any other LoadBalancer implementation is required.

Controller ports

The following is a list of ports that are used by the unifi controller. The ports are exposed by a MetalLB service to be discoverable in your network.

ProtocolPortPurpose
UDP3478Port used for STUN.
UDP5514Port used for remote syslog capture
TCP8080Port used for device and application communication
TCP8443Port used for application GUI/API as seen in a web browser
TCP8880Port used for HTTP portal redirection
TCP8843Port used for HTTPS portal redirection
TCP6789Port used for UniFi mobile speed test
TCP27117Port used for local-bound database communication
UDP5656-5699Ports used by AP-EDU broadcasting
UDP10001Port used for device discovery
UDP1900Port used for "Make application discoverable on L2 network" in the UniFi Network settings

Further reading

Deploy unifi-controller with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has unifi-controller 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 chartunifi-controller is pinned at v2.3.2 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