done :))))
This commit is contained in:
49
k8s_manifests/plex/pod.yaml
Normal file
49
k8s_manifests/plex/pod.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user