feat: Add Plex
This commit is contained in:
parent
93889fa1d4
commit
ebc1a1a21a
9 changed files with 185 additions and 0 deletions
49
k8s-wheatley/plex/deployments.yaml
Normal file
49
k8s-wheatley/plex/deployments.yaml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: plex
|
||||
labels:
|
||||
app: plex
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: plex
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: plex
|
||||
spec:
|
||||
volumes:
|
||||
- name: plex-config
|
||||
persistentVolumeClaim:
|
||||
claimName: plex-storage
|
||||
- name: nfs-media
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-media
|
||||
containers:
|
||||
- name: plex
|
||||
image: plexinc/pms-docker:1.43.0.10467-2b1ba6e69
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 32400
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: plex-envs
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: plex-config
|
||||
- mountPath: /data
|
||||
name: nfs-media
|
||||
securityContext:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- "ALL"
|
||||
add:
|
||||
- "CHOWN"
|
||||
- "SETUID"
|
||||
- "SETGID"
|
||||
Loading…
Add table
Add a link
Reference in a new issue