From fc0d610e74ecb887a2271b4caa5634699759a728 Mon Sep 17 00:00:00 2001 From: Spencer Koch Date: Mon, 11 Dec 2023 16:18:35 -0600 Subject: [PATCH] fix: plex failing ready/live probes for k8s, add some delay --- .../apps/media/plex/app/helmrelease.yaml | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/kubernetes/apps/media/plex/app/helmrelease.yaml b/kubernetes/apps/media/plex/app/helmrelease.yaml index df44e7ac..4ceeb963 100644 --- a/kubernetes/apps/media/plex/app/helmrelease.yaml +++ b/kubernetes/apps/media/plex/app/helmrelease.yaml @@ -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 @@ -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: