set replicas to 1 and strategy to Recreate due to SQlite DB locking

Reduce excessive failure count on startup probe
replace fsGroup with runAsGroup
This commit is contained in:
James 2023-10-23 23:32:15 +01:00
parent c6d3ca9442
commit a118c58e26
Signed by: thumbscrw
GPG Key ID: 4A3BB8AF7D9C2B46
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0 version: 0.2.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@ -5,7 +5,9 @@ metadata:
labels: labels:
{{- include "jellyfin.labels" . | nindent 4 }} {{- include "jellyfin.labels" . | nindent 4 }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
{{- include "jellyfin.selectorLabels" . | nindent 6 }} {{- include "jellyfin.selectorLabels" . | nindent 6 }}
@ -45,7 +47,7 @@ spec:
path: / path: /
port: http port: http
periodSeconds: 10 periodSeconds: 10
failureThreshold: 30 failureThreshold: 6
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumeMounts: volumeMounts:

View File

@ -2,8 +2,6 @@
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
replicaCount: 1
image: image:
repository: jellyfin/jellyfin repository: jellyfin/jellyfin
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@ -34,7 +32,7 @@ securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
fsGroup: 1000 runAsGroup: 1000
persistence: persistence:
# -- Persistence config for the /config volume # -- Persistence config for the /config volume