apiVersion: apps/v1 kind: Deployment metadata: name: sonarr spec: minReadySeconds: 3 revisionHistoryLimit: 5 progressDeadlineSeconds: 60 strategy: rollingUpdate: maxUnavailable: 0 type: Recreate selector: matchLabels: app: sonarr template: metadata: annotations: prometheus.io/scrape: "true" prometheus.io/port: "9797" labels: app: sonarr spec: containers: - name: sonarr image: lscr.io/linuxserver/sonarr:4.0.8 imagePullPolicy: IfNotPresent ports: - name: http containerPort: 8989 livenessProbe: httpGet: path: /ping port: 8989 initialDelaySeconds: 5 timeoutSeconds: 5 readinessProbe: httpGet: path: /ping port: 8989 initialDelaySeconds: 5 timeoutSeconds: 5 resources: limits: cpu: 1000m memory: 2Gi requests: cpu: 10m memory: 64Mi volumeMounts: - name: config mountPath: /config volumes: - name: config persistentVolumeClaim: claimName: sonarr-pvc