taiga-helm
taiga-helm copied to clipboard
Any reason the chart installs all parts as statefulsets
Is there any reason to run the components as statefulsets? taiga-front
, taiga-gateway
and taiga-protected
can be deployed as regular Deployment
s I assume that the lifecycle guarantees of a statefulset are also not neccessary for taiga-back
and taiga-events
. Am I overlooking something?
So StatefulSet
is used to scale stateful workloads, or ones that require a PVC. Using the official docker-compose as source of truth, it appears taiga-front
, taiga-events
, and taiga-protected
do NOT have volumes and thus should beDeployment
s, not StatefulSet
s.
Deployments can also require a PVC. The difference is that a StatefulSet can get different PVC per replica. That's certainly not needed with taiga. Statefulsets have different characteristics of restart, etc., but I doubt that necessary here. I wonder which parts of taiga can be run concurrently, if state is only in the DB and on the file system. If so it should be possible to run many replicas of each component for HA.