apiVersion: apps/v1 kind: StatefulSet metadata: name: sabnzbd namespace: default labels: app: sabnzbd spec: serviceName: headless-sabnzbd replicas: 1 selector: matchLabels: app: sabnzbd template: metadata: labels: app: sabnzbd spec: containers: - name: sabnzbd image: ghcr.io/linuxserver/sabnzbd@sha256:36bdeef099e87a0da24e5b87d88abde93cd188a24511a4bfb214372824201f00 imagePullPolicy: IfNotPresent env: - name: PUID value: "1000" - name: PGID value: "1000" - name: TZ value: America/New_York volumeMounts: - mountPath: /config name: config - mountPath: /data name: nas volumes: - name: nas nfs: path: /mnt/thePool/thePoolShare server: 10.0.0.10 volumeClaimTemplates: - metadata: name: config spec: accessModes: ["ReadWriteOnce"] resources: requests: storage: 2Gi storageClassName: longhorn