forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplex.yaml
103 lines (103 loc) · 2.48 KB
/
plex.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: plex
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: plex
version: 6.4.3
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: plexinc/pms-docker
tag: 1.29.1.6316-f4cdfea9c
env:
TZ: "America/New_York"
podSecurityContext:
supplementalGroups:
- 44
- 109
- 100
service:
main:
type: LoadBalancer
loadBalancerIP: 10.0.6.53
externalTrafficPolicy: Local
annotations:
metallb.universe.tf/allow-shared-ip: plex
port:
port: 32400
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
hosts:
- host: "plex.eviljungle.com"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "plex.eviljungle.com"
persistence:
config:
enabled: true
storageClass: "rook-ceph-block"
accessMode: ReadWriteOnce
size: 35Gi
transcode:
enabled: false
existingClaim: nfs-media-pvc
subPath: Videos/transcode/
readOnly: false
tmp:
enabled: true
type: emptyDir
medium: Memory
nfs-media-pvc:
enabled: true
existingClaim: nfs-media-pvc
mountPath: /data
readOnly: false
podAnnotations:
backup.velero.io/backup-volumes: config
resources:
requests:
gpu.intel.com/i915: 1
cpu: 1000m
memory: 1500Mi
limits:
gpu.intel.com/i915: 1
memory: 4900Mi
addons:
promtail:
enabled: true
image:
repository: grafana/promtail
tag: 2.6.1
loki: http://loki.logs.svc.cluster.local:3100/loki/api/v1/push
logs:
- name: promtail/plex
path: "/config/Library/Application Support/Plex Media Server/Logs/*.log"
- name: promtail/plex/plugins
path: "/config/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/*.log"
volumeMounts:
- name: config
mountPath: /config
readOnly: true
securityContext:
runAsUser: 0
valuesFrom:
- kind: Secret
name: "plex-helm-values"
optional: false