60 lines
1.1 KiB
YAML
60 lines
1.1 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: "800m"
|
|
# memory: "100Mi"
|
|
# requests:
|
|
# cpu: "300m"
|
|
# memory: "40Mi"
|
|
env:
|
|
- name: TZ
|
|
value: Europe/Oslo
|
|
ports:
|
|
- containerPort: 5055
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: overseerr-svc
|
|
labels:
|
|
app: overseerr
|
|
spec:
|
|
type: NodePort
|
|
ports:
|
|
- port: 5055
|
|
targetPort: 5055
|
|
nodePort: 305055
|
|
selector:
|
|
app: overseerr
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: overseerr-pvc
|
|
labels:
|
|
app: overseerr
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: longhorn
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|