unifi-poller

by funkypenguin

Helm chartv11.2.0App 2.1.3Verified publisher

Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus

About this chart

unifi-poller

Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

RepositoryNameVersion
https://charts.bitnami.com/bitnamiinfluxdb5.3.5
https://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add geek-cookbook https://geek-cookbook.github.io/charts/
helm repo update
helm install unifi-poller geek-cookbook/unifi-poller

Installing the Chart

To install the chart with the release name unifi-poller

helm install unifi-poller geek-cookbook/unifi-poller

Uninstalling the Chart

To uninstall the unifi-poller deployment

helm uninstall unifi-poller

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

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install unifi-poller \
  --set env.TZ="America/New York" \
    geek-cookbook/unifi-poller

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install unifi-poller geek-cookbook/unifi-poller -f values.yaml

Custom configuration

N/A

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

KeyTypeDefaultDescription
envobject{}Environment variable configuration options for unifi-poller (docs). Note: a configuration file is also supported.
image.pullPolicystring"IfNotPresent"Image k8s pull policy.
image.repositorystring"golift/unifi-poller"Image to deploy.
image.tagstring"2.1.3"Image tag to deploy.
influxdb.architecturestring"standalone"InfluxDB cluster deployment architecture.
influxdb.authEnabledboolfalseEnable InfluxDB authentication, supported by unifi-poller. Be sure to match in unifi-poller's influxdb config.
influxdb.databasestring"unifi"Database name to automatically initialize. Be sure to match in unifi-poller's influxdb config.
influxdb.enabledboolfalseCreate an InfluxDB instance as a unifi-poller storage backend. See bitnami/influxdb for more options.
influxdb.persistence.enabledboolfalseEnable persistence to store in a PV so data survives pod restarts.
ingress.main.enabledboolfalseExpose unifi-poller's web interface (if enabled in the configuration) via the k8s ingress by setting this true.
metrics.enabledboolSee values.yamlEnable and configure a Prometheus serviceMonitor for the chart under this key.
metrics.prometheusRuleobjectSee values.yamlEnable and configure Prometheus Rules for the chart under this key.
metrics.prometheusRule.ruleslistSee prometheusrules.yamlConfigure additionial rules for the chart under this key.
metrics.serviceMonitor.intervalstring"1m"
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring"30s"
service.main.ports.http.enabledboolfalse
service.main.ports.metrics.enabledbooltrue
service.main.ports.metrics.portint9130
service.main.ports.metrics.protocolstring"TCP"

Changelog

Version 11.1.2

Added

N/A

Changed

  • Upgraded common chart dependency to version 4.5.2

Fixed

N/A

Older versions

A historical overview of changes can be found on ArtifactHUB

Support


Autogenerated from chart metadata using helm-docs v0.1.1

Deploy unifi-poller with OpenTenant

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