This commit is contained in:
ducoterra
2020-03-15 17:15:07 -04:00
commit 32fdbe0321
6 changed files with 142 additions and 0 deletions

42
k8s/deploy.yaml Normal file
View File

@@ -0,0 +1,42 @@
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