-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
126 lines (126 loc) · 3.32 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
126 lines (126 loc) · 3.32 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: plex
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.7.3
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
dependsOn:
- name: nvidia-device-plugin
namespace: kube-system
- name: rook-ceph-cluster
namespace: rook-ceph
- name: volsync
namespace: storage
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/onedr0p/plex-beta
tag: 1.41.3.9314-a0bfb8370
env:
TZ: America/New_York
NVIDIA_DRIVER_CAPABILITIES: all
NVIDIA_VISIBLE_DEVICES: all
ALLOWED_NETWORKS: "10.1.0.0/255.255.255.0,10.5.0.0/255.255.255.0,10.1.10.0/255.255.255.0"
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /identity
port: 32400
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext:
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
# capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 1000m
memory: 2Gi
nvidia.com/gpu: 1
limits:
nvidia.com/gpu: 1
memory: 16Gi
pod:
runtimeClassName: nvidia
nodeSelector:
nvidia.feature.node.kubernetes.io/gpu: "true"
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
supplementalGroups: [44, 109, 100, 65539]
service:
main:
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: 10.1.10.101
ports:
http:
port: 32400
ingress:
main:
enabled: true
className: external
annotations:
external-dns.alpha.kubernetes.io/target: external.parsec.sh
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- host: &host "{{ .Release.Name }}.parsec.sh"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: plex
globalMounts:
- path: /config
tmp:
type: emptyDir
transcode:
type: emptyDir
medium: Memory
media:
type: nfs
server: 10.1.0.3
path: /mnt/Data/media
globalMounts:
- path: /media
readOnly: true