8000 coder deployment should be a statefulset in helm · Issue #12552 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
coder deployment should be a statefulset in helm #12552
Open
@dannykopping

Description

@dannykopping

helm/libcoder/templates/_co 5D6E der.yaml defines the deployment which runs the coder image.

Metrics are produced by this workload (if CODER_PROMETHEUS_ENABLE=true), and Deployments are assigned a unique pod name on every spec update. It is common practice to include the pod name in the labels when scraping metrics, and therefore users will see some series churn every time an update occurs.

Moving to a StatefulSet will allow these pods to have persistent identities which removes this problem.

NOTE: a clear upgrade path should be provided with this change, with uninterrupted service when migrating from Deployments to Statefulsets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    helmArea: helm chart

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0