67 lines
1.2 KiB
YAML
67 lines
1.2 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: overseerr
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
revisionHistoryLimit: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: overseerr
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: overseerr
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: ghcr.io/sct/overseerr:1.29.1
|
||
|
name: overseerr
|
||
|
resources:
|
||
|
limits:
|
||
|
cpu: "1200m"
|
||
|
memory: "500Mi"
|
||
|
requests:
|
||
|
cpu: "300m"
|
||
|
memory: "40Mi"
|
||
|
env:
|
||
|
- name: TZ
|
||
|
value: Europe/Oslo
|
||
|
ports:
|
||
|
- containerPort: 5055
|
||
|
volumeMounts:
|
||
|
- name: vol
|
||
|
mountPath: /app/config
|
||
|
volumes:
|
||
|
- name: vol
|
||
|
persistentVolumeClaim:
|
||
|
claimName: overseerr-pvc
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: overseerr-svc
|
||
|
labels:
|
||
|
app: overseerr
|
||
|
spec:
|
||
|
type: NodePort
|
||
|
ports:
|
||
|
- port: 5055
|
||
|
targetPort: 5055
|
||
|
nodePort: 30101
|
||
|
selector:
|
||
|
app: overseerr
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: PersistentVolumeClaim
|
||
|
metadata:
|
||
|
name: overseerr-pvc
|
||
|
labels:
|
||
|
app: overseerr
|
||
|
spec:
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
storageClassName: longhorn
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 2Gi
|