2020-12-24 11:51:18 +00:00
# network-ups-tools
2021-06-01 10:47:34 +00:00
![Version: 3.4.0 ](https://img.shields.io/badge/Version-3.4.0-informational?style=flat-square ) ![AppVersion: v2.7.4-2061-g46c7da76 ](https://img.shields.io/badge/AppVersion-v2.7.4--2061--g46c7da76-informational?style=flat-square )
2021-02-17 22:43:56 +00:00
Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.
2020-12-24 11:51:18 +00:00
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here ](https://github.com/k8s-at-home/charts/issues/new/choose )**
2021-02-18 18:19:14 +00:00
## Source Code
* < https: // github . com / networkupstools / nut >
2021-02-17 22:43:56 +00:00
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
2021-06-01 10:47:34 +00:00
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
2020-12-24 11:51:18 +00:00
2021-02-17 22:43:56 +00:00
## TL;DR
```console
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
2020-12-24 11:51:18 +00:00
```
## Installing the Chart
2021-02-17 22:43:56 +00:00
To install the chart with the release name `network-ups-tools`
2020-12-24 11:51:18 +00:00
```console
2021-02-17 22:43:56 +00:00
helm install network-ups-tools k8s-at-home/network-ups-tools
2020-12-24 11:51:18 +00:00
```
## Uninstalling the Chart
2021-02-17 22:43:56 +00:00
To uninstall the `network-ups-tools` deployment
2020-12-24 11:51:18 +00:00
```console
2021-02-17 22:43:56 +00:00
helm uninstall network-ups-tools
2020-12-24 11:51:18 +00:00
```
2021-02-17 22:43:56 +00:00
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
2020-12-24 11:51:18 +00:00
## Configuration
2021-02-17 22:43:56 +00:00
Read through the [values.yaml ](./values.yaml ) file. It has several commented out suggested values.
2021-03-16 16:58:59 +00:00
Other values may be used from the [values.yaml ](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml ) from the [common library ](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common ).
2021-02-17 22:43:56 +00:00
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install` .
2020-12-24 11:51:18 +00:00
```console
helm install network-ups-tools \
2021-02-17 22:43:56 +00:00
--set env.TZ="America/New York" \
2020-12-24 11:51:18 +00:00
k8s-at-home/network-ups-tools
```
2021-02-17 22:43:56 +00:00
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
2020-12-24 11:51:18 +00:00
```console
2021-02-17 22:43:56 +00:00
helm install network-ups-tools k8s-at-home/network-ups-tools -f values.yaml
2020-12-24 11:51:18 +00:00
```
2021-02-17 22:43:56 +00:00
## Custom configuration
2020-12-24 11:51:18 +00:00
2021-02-17 22:43:56 +00:00
N/A
2020-12-24 11:51:18 +00:00
2021-02-17 22:43:56 +00:00
## Values
2021-03-16 16:48:18 +00:00
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here ](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common )
2021-02-17 22:43:56 +00:00
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| config.files."nut.conf" | string | `"MODE=netserver\n"` | |
| config.files."ups.conf" | string | `"[dummy]\n driver = dummy-ups\n port = dummy-ups.dev\n desc = \"dummy-ups in dummy mode\"\n"` | |
| config.files."upsd.conf" | string | `"LISTEN 0.0.0.0\n"` | |
| config.mode | string | `"values"` | |
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"k8sathome/network-ups-tools"` | |
| image.tag | string | `"v2.7.4-2061-g46c7da76"` | |
| ingress.enabled | bool | `false` | |
| service.port.name | string | `"server"` | |
| service.port.port | int | `3493` | |
| strategy.type | string | `"Recreate"` | |
## Changelog
2021-03-16 16:38:42 +00:00
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here ](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog ).
2021-02-17 22:43:56 +00:00
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ), and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
### [1.0.0]
#### Added
- N/A
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #1 .0.0
2020-12-24 11:51:18 +00:00
2021-02-17 22:43:56 +00:00
## Support
2020-12-24 11:51:18 +00:00
2021-03-08 15:36:06 +00:00
- See the [Docs ](https://docs.k8s-at-home.com/our-helm-charts/getting-started/ )
- Open an [issue ](https://github.com/k8s-at-home/charts/issues/new/choose )
- Ask a [question ](https://github.com/k8s-at-home/organization/discussions )
2021-02-17 22:43:56 +00:00
- Join our [Discord ](https://discord.gg/sTMX7Vh ) community
2020-12-24 11:51:18 +00:00
2021-02-17 22:43:56 +00:00
----------------------------------------------
2021-06-01 10:47:34 +00:00
Autogenerated from chart metadata using [helm-docs v1.5.0 ](https://github.com/norwoodj/helm-docs/releases/v1.5.0 )