Skip to content

bug: control plane replicas are duplicated #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ericpaulsen opened this issue Jun 3, 2024 · 1 comment
Closed

bug: control plane replicas are duplicated #16

ericpaulsen opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ericpaulsen
Copy link
Member

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
@ericpaulsen ericpaulsen added the bug Something isn't working label Jun 3, 2024
@dannykopping
Copy link
Collaborator

Fixed by #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants