Files
home/k8s_manifests/plex/pod.yaml
2024-10-29 14:08:26 +01:00

50 lines
1.1 KiB
YAML

apiVersion: v1
kind: Pod
metadata:
name: plex
labels:
app.kubernetes.io/name: plex
spec:
volumes:
- name: nfs-vol
nfs:
server: 192.168.0.114
path: /mnt/test1/media/
- name: transcode
persistentVolumeClaim:
claimName: transcode-plex
- name: config
persistentVolumeClaim:
claimName: config-plex
containers:
- name: plex
image: ghcr.io/hotio/plex:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"
- name: PLEX_CLAIM_TOKEN
valueFrom:
secretKeyRef:
name: plex-claim
key: PLEX_CLAIM
- name: PELX_BETA_INSTALL
value: "true"
- name: PLEX_PURGE_CODECS
value: "false"
ports:
- containerPort: 32400
volumeMounts:
- name: config
mountPath: /config
- name: transcode
mountPath: /transcode
- name: nfs-vol
mountPath: /media