infra4talos/apps-kustomized/sonarr/deploy.yaml

56 lines
1.2 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: sonarr
name: sonarr
spec:
selector:
matchLabels:
app: sonarr
strategy:
type: Recreate
template:
metadata:
labels:
app: sonarr
spec:
containers:
- image: hotio/sonarr:release-4.0.1.929
imagePullPolicy: Always
name: sonarr
ports:
- containerPort: 8989
name: http
protocol: TCP
resources:
requests:
cpu: 25m
memory: 628694953
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: data
- mountPath: /series
name: series
- mountPath: /oldseries
name: oldseries
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: config
persistentVolumeClaim:
claimName: sonarr-config-data
- name: series
persistentVolumeClaim:
claimName: smb-series
- name: oldseries
persistentVolumeClaim:
claimName: smb-oldseries
- name: data
persistentVolumeClaim:
claimName: smb-usenet