add emby
This commit is contained in:
53
emby/deployment.yaml
Normal file
53
emby/deployment.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: emby
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: emby
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: emby
|
||||
spec:
|
||||
volumes:
|
||||
- name: tv-shows
|
||||
nfs:
|
||||
server: 10.105.15.20
|
||||
path: /mnt/hdd-pool/tv-shows
|
||||
- name: movies
|
||||
nfs:
|
||||
server: 10.105.15.20
|
||||
path: /mnt/hdd-pool/movies
|
||||
- name: emby-config
|
||||
persistentVolumeClaim:
|
||||
claimName: emby-config
|
||||
- name: dev-dri
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
securityContext:
|
||||
privileged: true
|
||||
containers:
|
||||
- name: emby
|
||||
image: emby/embyserver:4.9.0.41
|
||||
volumeMounts:
|
||||
- name: tv-shows
|
||||
mountPath: /mnt/tv-shows
|
||||
- name: movies
|
||||
mountPath: /mnt/movies
|
||||
- name: emby-config
|
||||
mountPath: /config
|
||||
- name: dev-dri
|
||||
mountPath: /dev/dri
|
||||
env:
|
||||
- name: UID
|
||||
value: "1000"
|
||||
- name: GID
|
||||
value: "1000"
|
||||
- name: GIDLIST
|
||||
value: "100"
|
||||
resources:
|
||||
limits:
|
||||
memory: "4096Mi"
|
||||
cpu: "1000m"
|
||||
Reference in New Issue
Block a user