Files
jellyfin/k8s/deploy.yaml
ducoterra 32fdbe0321 init
2020-03-15 17:15:07 -04:00

42 lines
946 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: jf
spec:
selector:
matchLabels:
app: jf
template:
metadata:
labels:
app: jf
spec:
containers:
- name: jf
image: jellyfin/jellyfin:latest
volumeMounts:
- mountPath: /media
name: jf-media
- mountPath: /config
name: jf-config
- mountPath: /cache
name: jf-cache
resources:
limits:
memory: "2Gi"
cpu: "2"
requests:
memory: "500Mi"
cpu: "1m"
ports:
- containerPort: 8096
volumes:
- name: jf-media
persistentVolumeClaim:
claimName: jellyfin-media
- name: jf-config
persistentVolumeClaim:
claimName: jellyfin-config
- name: jf-cache
persistentVolumeClaim:
claimName: jellyfin-cache