apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -f compose-yarr.yaml kompose.version: 1.38.0 (HEAD) labels: io.kompose.service: sabnzbd name: sabnzbd spec: replicas: 1 selector: matchLabels: io.kompose.service: sabnzbd strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -f compose-yarr.yaml kompose.version: 1.38.0 (HEAD) labels: io.kompose.service: sabnzbd spec: containers: - env: - name: PGID value: "1000" - name: PUID value: "1000" - name: TZ value: America/New_York image: ghcr.io/hotio/sabnzbd:latest name: sabnzbd ports: - containerPort: 8080 protocol: TCP name: web-ui volumeMounts: - mountPath: /config name: sabnzbd-config - mountPath: /downloads name: sabnzbd-downloads restartPolicy: Always volumes: - name: sabnzbd-config persistentVolumeClaim: claimName: sabnzbd-config-pvc - name: sabnzbd-downloads nfs: server: robin.home.nest path: /yarr/downloads --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: sabnzbd-config-pvc labels: recurring-job.longhorn.io/source: "enabled" recurring-job-group.longhorn.io/app-config-group: "enabled" spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 50Mi