chore(helm): switch from Deployment to StatefulSet (#1901)

Jellyseerr is not designed to support multiple concurrently running instances.
To ensure that only one instance can run at any given time we:

- Replace Deployment with StatefulSet: switch from running "at least N pods" to
  "at most N pods".
- Remove replicaCount value: default is 1, we do not want to support more.
This commit is contained in:
Sergii Bogomolov
2025-09-23 11:01:34 +02:00
committed by GitHub
parent 328517cc0a
commit 1518dc01e5
5 changed files with 30 additions and 18 deletions

View File

@@ -1,5 +1,3 @@
replicaCount: 1
image:
registry: ghcr.io
repository: fallenbagel/jellyseerr
@@ -12,10 +10,6 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# -- Deployment strategy
strategy:
type: Recreate
# Liveness / Readiness / Startup Probes
probes:
# -- Configure liveness probe
@@ -115,14 +109,14 @@ resources: {}
# cpu: 100m
# memory: 128Mi
# -- Additional volumes on the output Deployment definition.
# -- Additional volumes on the output StatefulSet definition.
volumes: []
# - name: foo
# secret:
# secretName: mysecret
# optional: false
# -- Additional volumeMounts on the output Deployment definition.
# -- Additional volumeMounts on the output StatefulSet definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"