From d3b25c343ebeb7bf1f8213f70a3858bfb0834702 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Tue, 17 Oct 2023 17:56:04 -0400 Subject: [PATCH] added ports --- k8s/apps/scrypted/templates/deployment.yaml | 48 +++++++++++---------- k8s/apps/scrypted/values.yaml | 4 +- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/k8s/apps/scrypted/templates/deployment.yaml b/k8s/apps/scrypted/templates/deployment.yaml index 42aeb1f..e87329c 100644 --- a/k8s/apps/scrypted/templates/deployment.yaml +++ b/k8s/apps/scrypted/templates/deployment.yaml @@ -29,34 +29,36 @@ spec: image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}" resources: {{- .Values.resources | toYaml | nindent 14}} - livenessProbe: - httpGet: - path: / - port: http - scheme: HTTP - initialDelaySeconds: 10 - failureThreshold: 10 - timeoutSeconds: 30 - readinessProbe: - httpGet: - path: / - port: http - scheme: HTTP - initialDelaySeconds: 10 - failureThreshold: 10 - timeoutSeconds: 30 - startupProbe: - httpGet: - path: / - port: http - scheme: HTTP - failureThreshold: 60 - periodSeconds: 15 + # livenessProbe: + # httpGet: + # path: / + # port: http + # scheme: HTTP + # initialDelaySeconds: 10 + # failureThreshold: 10 + # timeoutSeconds: 30 + # readinessProbe: + # httpGet: + # path: / + # port: http + # scheme: HTTP + # initialDelaySeconds: 10 + # failureThreshold: 10 + # timeoutSeconds: 30 + # startupProbe: + # httpGet: + # path: / + # port: http + # scheme: HTTP + # failureThreshold: 60 + # periodSeconds: 15 env: - name: SCRYPTED_NVR_VOLUME value: /media/nvr ports: - containerPort: 10443 + name: https + - containerPort: 11080 name: http volumeMounts: {{- if .Values.persistence.media_path.enabled }} diff --git a/k8s/apps/scrypted/values.yaml b/k8s/apps/scrypted/values.yaml index 7beab11..d1bf22d 100644 --- a/k8s/apps/scrypted/values.yaml +++ b/k8s/apps/scrypted/values.yaml @@ -1,5 +1,5 @@ image: "koush/scrypted" -tag: "latest" +tag: "20-jammy-thin.s6-v0.57.0" persistence: media_path: @@ -15,4 +15,4 @@ resources: cpu: "500m" limits: memory: "1Gi" - cpu: "2" + cpu: "1"