coder / observability

Repository from Github https://github.comcoder/observabilityRepository from Github https://github.comcoder/observability

bug: control plane replicas are duplicated

ericpaulsen opened this issue · comments

here is the query:

count(up{pod=~`coder.*`, pod!~`.*provisioner.*`, namespace=`oss`} == 1) or vector(0)

it returns 6 replicas despite 3 being deployed. this is because each replica has two matching labels:

app.kubernetes.io/instance=coder
app.kubernetes.io/name=coder

Fixed by #32