diff --git a/deployments/sonarr/deployment.yaml b/deployments/sonarr/deployment.yaml new file mode 100644 index 0000000..cbc174c --- /dev/null +++ b/deployments/sonarr/deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: sonarr + namespace: media +spec: + replicas: 1 + selector: + matchLabels: + app: sonarr + template: + metadata: + labels: + app: sonarr + spec: + containers: + - name: sonarr + image: ghcr.io/linuxserver/sonarr:develop + ports: + - containerPort: 8989 + env: + - name: PUID + value: "1000" + - name: PGID + value: "1000" + - name: TZ + value: UTC + volumeMounts: + - name: config + mountPath: /config + - name: media + mountPath: /media + resources: + requests: + cpu: 100m + memory: 512Mi + limits: + cpu: 1000m + memory: 1Gi + volumes: + - name: config + persistentVolumeClaim: + claimName: sonarr-config + - name: media + persistentVolumeClaim: + claimName: media-data