Skip to content

[Question] Why does Automq use StatefulSet if brokers are stateless? #2808

@kincoy

Description

@kincoy

I’m deploying Automq in a Kubernetes cluster, according to Automq docs, brokers are stateless — all data is stored in external object storage like S3.
But the official Helm chart uses a StatefulSet with PVCs.

This seems contradictory. Stateless apps usually use Deployment, not StatefulSet.

Questions:
1. Is there any real need for StatefulSet here (e.g. stable DNS, ordinal index)?
2. Are the PVCs strictly required, or can they be removed?
3. Can we safely switch to Deployment for simpler ops?

In my Kubernetes deployment, I found that the chart won’t work unless PVCs are provisioned, even though object storage is used.
Looking to confirm this behavior before customizing the Helm chart.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions