Merge pull request #48 from billimek/healthcheck

enable healthchecks
This commit is contained in:
James Munnelly
2019-01-24 13:30:04 +00:00
committed by GitHub
2 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.10.1.4602-f54242b6b
description: Plex Media Server
name: kube-plex
version: 0.2.1
version: 0.2.3
keywords:
- plex
home: https://plex.tv/
+12 -4
View File
@@ -55,10 +55,18 @@ spec:
rm -f '/usr/lib/plexmediaserver/Plex Transcoder'
cp /shared/kube-plex '/usr/lib/plexmediaserver/Plex Transcoder'
{{- end }}
# readinessProbe:
# httpGet:
# path: /
# port: 32400
readinessProbe:
httpGet:
path: /identity
port: 32400
initialDelaySeconds: 15
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /identity
port: 32400
initialDelaySeconds: 10
timeoutSeconds: 10
ports:
- name: pms
containerPort: 32400