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
# to the chart and its templates, including the app version.
# 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
# incremented each time you make changes to the application. Versions are not expected to

View File

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

View File

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