Cleaned repo a bit.
This commit is contained in:
+16
-20
@@ -3,13 +3,11 @@ kind: Service
|
||||
metadata:
|
||||
name: radarr
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 7878
|
||||
protocol: TCP
|
||||
targetPort: 7878
|
||||
name: webui
|
||||
nodePort: 30006
|
||||
selector:
|
||||
run: radarr
|
||||
---
|
||||
@@ -30,8 +28,6 @@ spec:
|
||||
run: radarr
|
||||
spec:
|
||||
securityContext:
|
||||
# runAsUser: 1000
|
||||
# runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
initContainers:
|
||||
- name: chown
|
||||
@@ -72,22 +68,22 @@ spec:
|
||||
ports:
|
||||
- containerPort: 7878
|
||||
name: webui
|
||||
# livenessProbe:
|
||||
# exec:
|
||||
# command:
|
||||
# - /bin/sh
|
||||
# - -c
|
||||
# - curl "http://localhost:7878/radarr/api/health?ApiKey=$(sed -ne '/ApiKey/{s/.*<ApiKey>\(.*\)<\/ApiKey>.*/\1/p;q;}' </config/config.xml)"
|
||||
# initialDelaySeconds: 30
|
||||
# periodSeconds: 10
|
||||
# readinessProbe:
|
||||
# exec:
|
||||
# command:
|
||||
# - /bin/sh
|
||||
# - -c
|
||||
# - curl "http://localhost:7878/radarr/api/system/status?ApiKey=$(sed -ne '/ApiKey/{s/.*<ApiKey>\(.*\)<\/ApiKey>.*/\1/p;q;}' </config/config.xml)"
|
||||
# initialDelaySeconds: 30
|
||||
# periodSeconds: 10
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- curl "http://localhost:7878/radarr/api/health?ApiKey=$(sed -ne '/ApiKey/{s/.*<ApiKey>\(.*\)<\/ApiKey>.*/\1/p;q;}' </config/config.xml)"
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- curl "http://localhost:7878/radarr/api/system/status?ApiKey=$(sed -ne '/ApiKey/{s/.*<ApiKey>\(.*\)<\/ApiKey>.*/\1/p;q;}' </config/config.xml)"
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: htpc-home
|
||||
|
||||
Reference in New Issue
Block a user