apiVersion: apps/v1 kind: Deployment metadata: annotations: keel.sh/policy: minor keel.sh/trigger: poll keel.sh/pollSchedule: "@every 6h" labels: io.kompose.service: sonarr name: sonarr spec: replicas: 1 selector: matchLabels: io.kompose.service: sonarr strategy: type: Recreate template: metadata: labels: io.kompose.service: sonarr spec: nodeSelector: role: master containers: - env: - name: PGID value: "1000" - name: PUID value: "1000" - name: TZ value: Asia/Kuwait image: linuxserver/sonarr:latest name: sonarr ports: - containerPort: 8989 protocol: TCP volumeMounts: - mountPath: /config name: ssd subPath: configs/trackers/sonarr_config - mountPath: /tvshows name: ssd subPath: tvshows - mountPath: /anime name: ssd subPath: anime - mountPath: /HDD name: hdd - mountPath: data/downloads/complete name: hdd subPath: media/transmission/downloads/complete - mountPath: /mnt name: mnt restartPolicy: Always volumes: - name: ssd persistentVolumeClaim: claimName: nfs-ssd-pvc - name: hdd persistentVolumeClaim: claimName: nfs-hdd-pvc - name: mnt persistentVolumeClaim: claimName: mnt-pvc --- apiVersion: apps/v1 kind: Deployment metadata: annotations: keel.sh/policy: minor keel.sh/trigger: poll keel.sh/pollSchedule: "@every 6h" labels: io.kompose.service: sonarr4k name: sonarr4k spec: replicas: 1 selector: matchLabels: io.kompose.service: sonarr4k strategy: type: Recreate template: metadata: labels: io.kompose.service: sonarr4k spec: nodeSelector: role: master containers: - env: - name: PGID value: "1000" - name: PUID value: "1000" - name: TZ value: Asia/Kuwait image: linuxserver/sonarr:latest name: sonarr ports: - containerPort: 8989 protocol: TCP volumeMounts: - mountPath: /config name: ssd subPath: configs/trackers/sonarr4k_config - mountPath: /tvshows name: ssd subPath: tvshows - mountPath: /anime name: ssd subPath: anime - mountPath: /HDD name: hdd - mountPath: data/downloads/complete name: hdd subPath: media/transmission/downloads/complete - mountPath: /mnt name: mnt restartPolicy: Always volumes: - name: ssd persistentVolumeClaim: claimName: nfs-ssd-pvc - name: hdd persistentVolumeClaim: claimName: nfs-hdd-pvc - name: mnt persistentVolumeClaim: claimName: mnt-pvc