Skip to content

Commit

Permalink
fix: plex failing ready/live probes for k8s, add some delay
Browse files Browse the repository at this point in the history
  • Loading branch information
sp3nx0r committed Dec 11, 2023
1 parent c0a2820 commit fc0d610
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions kubernetes/apps/media/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,23 @@ spec:
tag: 1.32.8.7639-fb6452ebf@sha256:637fe10cef736f249d96cb004c12f81646c81ca17ddce22374ea8782aa6646c2
env:
TZ: UTC
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
# TODO: HTTP GET probes are not working, so defaulting back to TCP socket probes.
# Probe curls get an EOF response, but the service is still up and running.
# probes:
# liveness: &probes
# enabled: true
# custom: true
# spec:
# httpGet:
# path: /identity
# port: 32400
# initialDelaySeconds: 10
# periodSeconds: 10
# timeoutSeconds: 1
# failureThreshold: 3
# readiness: *probes
# startup:
# enabled: false
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down Expand Up @@ -98,7 +100,7 @@ spec:
className: external
annotations:
external-dns.alpha.kubernetes.io/target: external.${SECRET_DOMAIN}
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths:
Expand Down

0 comments on commit fc0d610

Please sign in to comment.