139 lines
2.7 KiB
YAML
139 lines
2.7 KiB
YAML
# Default values for plex.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: linuxserver/plex
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
|
|
# Security context for the container
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
fsGroup: 0
|
|
|
|
# Configurable user and group IDs
|
|
securityContext:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
privileged: true
|
|
capabilities:
|
|
add:
|
|
- SYS_ADMIN
|
|
- NET_ADMIN
|
|
|
|
service:
|
|
type: NodePort
|
|
port: 32400
|
|
# Additional ports for Plex
|
|
additional:
|
|
- name: dlna-tcp
|
|
port: 32469
|
|
protocol: TCP
|
|
- name: dlna-udp
|
|
port: 1900
|
|
protocol: UDP
|
|
- name: gdm1
|
|
port: 32410
|
|
protocol: UDP
|
|
- name: gdm2
|
|
port: 32412
|
|
protocol: UDP
|
|
- name: gdm3
|
|
port: 32413
|
|
protocol: UDP
|
|
- name: gdm4
|
|
port: 32414
|
|
protocol: UDP
|
|
- name: http-alt
|
|
port: 32401
|
|
protocol: TCP
|
|
- name: bonjour
|
|
port: 5353
|
|
protocol: UDP
|
|
|
|
# Environment variables
|
|
env:
|
|
TZ: "UTC"
|
|
# Version of plex to install
|
|
VERSION: "latest"
|
|
# Claim token from plex.tv/claim
|
|
PLEX_CLAIM: ""
|
|
# Proxy settings (if needed)
|
|
HTTP_PROXY: ""
|
|
HTTPS_PROXY: ""
|
|
NO_PROXY: "localhost,127.0.0.1,10.96.0.0/12,192.168.0.0/16"
|
|
|
|
# Persistence configuration
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
mountPath: /config
|
|
# Optional: Use existing PVC for config
|
|
existingClaim: ""
|
|
transcode:
|
|
enabled: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 20Gi
|
|
mountPath: /transcode
|
|
# Optional: Use existing PVC for transcode
|
|
existingClaim: ""
|
|
data:
|
|
enabled: true
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 100Gi
|
|
mountPath: /data
|
|
# Optional: Use existing PVC
|
|
existingClaim: ""
|
|
# Optional: Use existing media storage
|
|
# Example: "movies-pvc" to reuse storage from Radarr
|
|
# Example: "tv-pvc" to reuse storage from Sonarr
|
|
|
|
# Hardware transcoding support
|
|
# Note: Requires compatible hardware and drivers
|
|
transcoding:
|
|
hardware:
|
|
enabled: false
|
|
# Intel GPU
|
|
intel: false
|
|
# Nvidia GPU
|
|
nvidia: false
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: "nginx"
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
# nginx.ingress.kubernetes.io/rewrite-target: /
|
|
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
hosts:
|
|
- host: plex.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
# - secretName: plex-tls
|
|
# hosts:
|
|
# - plex.local
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 4000m
|
|
memory: 4Gi
|
|
requests:
|
|
cpu: 1000m
|
|
memory: 1Gi
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|