Helm chartv0.5.0App 1.25.4.5487

A media center and sharing solution

About this chart

Plex Helm Chart

Plex media server

Chart Details

This chart will install an instance of Plex media server on the service type of your choice (default ClusterIP) with support for four PVCs

  • One PVC to store tv files.
  • One PVC to store music files.
  • One PVC to store movies files.
  • One PVC to store plex configuration

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add bryanalves https://bryanalves.github.io/helm-charts
$ helm install --name my-release bryanalves/plex

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

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

Configuration

The following table lists the configurable parameters of this chart and their default values

ParameterDescriptionDefault
replicaCountNumber of instances1
image.repositoryRepository nameplexinc/pms-docker
image.tagRepository tag1.14.0.5470-9d51fdfaa
image.pullPolicyRepository pull policyIfNotPresent
persistence.config.enabledEnable persistent configtrue
persistence.config.existingClaimName of existing config claimplex-config
persistence.tv.enabledEnable persistent tv dirfalse
persistence.tv.existingClaimName of existing tv claimnil
persistence.movies.enabledEnable persistent movies dirfalse
persistence.movies.existingClaimName of existing movies claimnil
persistence.music.enabledEnable persistent music dirfalse
persistence.music.existingClaimName of existing music claimnil
service.typeType of serviceClusterIP
service.portPort for the service80
ingress.enabledWhether to create ingress or notfalse
ingress.*Helm standard ingress (see values.yaml){}
resourcesPod resources{}
nodeSelectorPod node selector{}
tolerationsPod tolerations[]
affinityPod affinity{}

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

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

$ helm install --name my-release -f values.yaml bryanalves/plex

Tip: You can use the default values.yaml

Deploy plex with OpenTenant

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