Skip to content

bug: control plane replicas are duplicated #16

Closed
@ericpaulsen

Description

@ericpaulsen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions