Kaynağa Gözat

Use tcpSocket probe for plex, as we determine if plex is setup to use HTTPS or HTTP (#1059)

Stavros Kois 2 yıl önce
ebeveyn
işleme
8daa01d53c

+ 1 - 1
library/ix-dev/charts/plex/Chart.yaml

@@ -3,7 +3,7 @@ description: Plex Media Server
 annotations:
   title: Plex
 type: application
-version: 1.7.33
+version: 1.7.34
 apiVersion: v2
 appVersion: '1.31.2.6810'
 kubeVersion: '>=1.16.0-0'

+ 3 - 6
library/ix-dev/charts/plex/templates/deployment.yaml

@@ -68,8 +68,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
             {{ $envList = mustAppend $envList (dict "name" "PMS_IMAGE" "value" (printf "%s:%s" .Values.image.repository .Values.image.tag))}}
             {{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
           readinessProbe:
-            httpGet:
-              path: /identity
+            tcpSocket:
               port: 32400
             initialDelaySeconds: 10
             periodSeconds: 10
@@ -77,8 +76,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
             failureThreshold: 5
             successThreshold: 2
           livenessProbe:
-            httpGet:
-              path: /identity
+            tcpSocket:
               port: 32400
             initialDelaySeconds: 10
             periodSeconds: 10
@@ -86,8 +84,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
             failureThreshold: 5
             successThreshold: 1
           startupProbe:
-            httpGet:
-              path: /identity
+            tcpSocket:
               port: 32400
             initialDelaySeconds: 10
             periodSeconds: 5