83 lines
1.9 KiB
YAML
83 lines
1.9 KiB
YAML
plex:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/linuxserver/plex
|
|
tag: 1.42.2@sha256:1720efa8e919a724ff3003cce7c1c0ae91a54e097ca3c8f6713a780c6fd73432
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: VERSION
|
|
value: docker
|
|
- name: PLEX_CLAIM
|
|
value: claim-XmGK2o9x54PbCzQaqj-J
|
|
resources:
|
|
limits:
|
|
gpu.intel.com/i915: 1
|
|
requests:
|
|
gpu.intel.com/i915: 1
|
|
cpu: 10m
|
|
memory: 512Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
type: LoadBalancer
|
|
ports:
|
|
http:
|
|
port: 32400
|
|
targetPort: 32400
|
|
protocol: HTTP
|
|
route:
|
|
main:
|
|
kind: HTTPRoute
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: traefik-gateway
|
|
namespace: traefik
|
|
hostnames:
|
|
- plex.alexlebens.net
|
|
rules:
|
|
- backendRefs:
|
|
- group: ''
|
|
kind: Service
|
|
name: plex
|
|
port: 32400
|
|
weight: 100
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
persistence:
|
|
config:
|
|
forceRename: plex-config
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 100Gi
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config
|
|
readOnly: false
|
|
transcode:
|
|
type: emptyDir
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /transcode
|
|
readOnly: false
|
|
media:
|
|
existingClaim: plex-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /mnt/store
|
|
readOnly: true
|