# plex-exporter ![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square) A prometheus exporter for Plex Media Server **This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/nikdoof/helm-charts/issues/new/choose)** ## Source Code * * ## Requirements Kubernetes: `>=1.16.0-0` ## Dependencies | Repository | Name | Version | |------------|------|---------| | https://library-charts.k8s-at-home.com | common | 4.2.0 | ## TL;DR ```console helm repo add nikdoof-helm-charts https://nikdoof.github.io/helm-charts/ helm repo update helm install plex-exporter nikdoof-helm-charts/plex-exporter ``` ## Installing the Chart To install the chart with the release name `plex-exporter` ```console helm install plex-exporter nikdoof-helm-charts/plex-exporter ``` ## Uninstalling the Chart To uninstall the `plex-exporter` deployment ```console helm uninstall plex-exporter ``` The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release. ## Configuration Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values. 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). Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. ```console helm install plex-exporter \ --set plex.token="000000"\ nikdoof-helm-charts/plex-exporter ``` Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. ```console helm install plex-exporter nikdoof-helm-charts/plex-exporter -f values.yaml ``` ## Custom configuration Your Plex token can either be passed as a value in values.yml, or you can provide a environment variable of `PLEX_TOKEN` or `TOKEN` by a method of your choice. ## Values **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) | Key | Type | Default | Description | |-----|------|---------|-------------| | env | object | See below | environment variables. See more environment variables in the [plex-exporter documentation](https://github.com/nikdoof/plex-chaos/tree/master/cmd/plex_exporter). | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | image.repository | string | `"granra/plex_exporter"` | image repository | | image.tag | string | `"v0.2.2"` | image tag | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | | metrics.enabled | bool | See values.yaml | Enable and configure a Prometheus serviceMonitor for the chart under this key. | | metrics.prometheusRule | object | See values.yaml | Enable and configure Prometheus Rules for the chart under this key. | | metrics.prometheusRule.rules | list | See prometheusrules.yaml | Configure additionial rules for the chart under this key. | | metrics.serviceMonitor.interval | string | `"1m"` | | | metrics.serviceMonitor.labels | object | `{}` | | | metrics.serviceMonitor.scrapeTimeout | string | `"30s"` | | | plex.autodiscover | bool | `true` | Enable autodiscover using plex.tv | | plex.server | string | `nil` | Manual server address of your Plex server, as a URL, including the port | | plex.token | string | `nil` | Authentication token to connect to your Plex instance | | service | object | See values.yaml | Configures service settings for the chart. | ## Changelog 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). 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). ### [0.0.3] #### Added - N/A #### Changed - Fixed autodiscovery configuration issues when using `envFrom` #### Removed - N/A ### [0.0.2] #### Added - Support for auto discovery #### Changed - N/A #### Removed - N/A ### [0.0.1] #### Added - Initial version #### Changed - N/A #### Removed - N/A [0.0.1]: #100 ## Support - Open an [issue](https://github.com/nikdoof/helm-charts/issues/new/choose) ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)