mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
42 lines
967 B
YAML
42 lines
967 B
YAML
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: plex
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: plex
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: plex
|
|
image: lscr.io/linuxserver/plex
|
|
imagePullPolicy: Always
|
|
resources:
|
|
requests:
|
|
cpu: 2000m
|
|
memory: 6Gi
|
|
limits:
|
|
cpu: 10000m
|
|
memory: 12Gi
|
|
# nvidia.com/gpu: "1"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: plex-env
|
|
ports:
|
|
- name: http
|
|
containerPort: 32400
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media
|
|
mountPath: /app/data
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: plex-config-pvc
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: plex-media-pvc
|