- Notifications
You must be signed in to change notification settings - Fork925
Open
Labels
Description
helm/libcoder/templates/_coder.yaml
defines the deployment which runs thecoder
image.
Metrics are produced by this workload (ifCODER_PROMETHEUS_ENABLE=true
), andDeployments
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 aStatefulSet
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 fromDeployment
s toStatefulset
s.