init
This commit is contained in:
42
k8s/deploy.yaml
Normal file
42
k8s/deploy.yaml
Normal 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
|
||||
Reference in New Issue
Block a user