--- apiVersion: apps/v1 kind: Deployment metadata: name: plex namespace: plex labels: app: plexserver spec: replicas: 1 selector: matchLabels: app: plexserver template: metadata: labels: app: plexserver annotations: spec: volumes: - name: plex-config persistentVolumeClaim: claimName: mediaserver-plex-config-pvc - name: plex-data persistentVolumeClaim: claimName: mediaserver-plex-data-pvc containers: - name: plex image: plexinc/pms-docker:latest@sha256:1846de6eb835a046d1c5bbffddc0c3ed44e5fa1c56f2ad8deb1dafd00fc61bc2 resources: requests: cpu: 1 memory: 512Mi ports: - name: plex containerPort: 32400 #PMS - name: plex-udp containerPort: 32400 protocol: UDP - name: plex-dlna containerPort: 32469 #Plex DLNA - name: plex-discovery containerPort: 5353 protocol: UDP - name: plex-dlna-udp containerPort: 1900 #Plex DLNA protocol: UDP env: - name: UID value: "\x31\x30\x30\x32" #Corresponds to user id on NFS server (ascii) - name: GID value: "\x31\x30\x30\x32" #Corresponds to group id on NFS server - name: PLEX_CLAIM value: claim-7Uz6mbtybov4zzzcCVzx - name: HOSTNAME value: plex.mziesel.nl - name: TZ value: Europe/Amsterdam volumeMounts: - mountPath: /config name: plex-config - mountPath: /data name: plex-data --- apiVersion: apps/v1 kind: Deployment metadata: name: prowlarr labels: app: prowlarr spec: replicas: 1 selector: matchLabels: app: prowlarr template: metadata: labels: app: prowlarr annotations: spec: volumes: - name: prowlarr-config persistentVolumeClaim: claimName: mediaserver-prowlarr-config-pvc containers: - name: prowlarr image: ghcr.io/hotio/prowlarr:nightly@sha256:a27cfcead7f6debe0e2e3409690ff2000076f902b38213555ad2716902823d45 resources: requests: cpu: 1 memory: 512Mi ports: - name: web containerPort: 9696 env: - name: PUID value: "1000" - name: PGID value: "1000" - name: TZ value: Europe/Amsterdam volumeMounts: - mountPath: /config name: prowlarr-config