network-ups-tools

by funkypenguin

Helm chartv6.4.2App v2.7.4-2479-g86a32237Verified publisher

Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.

About this chart

network-ups-tools

Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.

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://library-charts.k8s-at-home.comcommon4.5.2

TL;DR

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install network-ups-tools k8s-at-home/network-ups-tools

Installing the Chart

To install the chart with the release name network-ups-tools

helm install network-ups-tools k8s-at-home/network-ups-tools

Uninstalling the Chart

To uninstall the network-ups-tools deployment

helm uninstall network-ups-tools

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 network-ups-tools \
  --set env.TZ="America/New York" \
    k8s-at-home/network-ups-tools

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

helm install network-ups-tools k8s-at-home/network-ups-tools -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
config.filesobjectSee values.yamlSee https://github.com/networkupstools/nut/tree/master/conf for config sample files
config.modestring"values"If set to 'values', the configuration will be read from these values. Otherwise you have to mount a volume to /etc/nut containing the configuration files.
envobjectSee belowenvironment variables.
env.TZstring"UTC"Set the container timezone
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"ghcr.io/k8s-at-home/network-ups-tools"image repository
image.tagstring"v2.7.4-2479-g86a32237"image tag
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
metrics.enabledboolSee values.yamlEnable and configure prometheus-nut-exporter sidecar and Prometheus serviceMonitor.
metrics.exporter.env.logLevelstring"info"log level [info
metrics.exporter.env.portint9995metrics port
metrics.exporter.image.pullPolicystring"IfNotPresent"image pull policy
metrics.exporter.image.repositorystring"hon95/prometheus-nut-exporter"image repository
metrics.exporter.image.tagstring"1.1.1"image tag
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"30s"
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring"10s"
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
persistence.ups.hostPathstring"/dev/bus/usb/001/001"The path of the usb ups on the host.
persistence.ups.mountPathstring"/dev/bus/usb/001/001"Optional path for ups to mount in the container.
securityContextobjectSee values.yamlSet to true if using ups connected by usb to the host
serviceobjectSee values.yamlConfigures service settings for the chart.

Changelog

Version 6.4.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 network-ups-tools with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has network-ups-tools 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 chartnetwork-ups-tools is pinned at v6.4.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