-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Description
When using leader election, metrics aren't served and so the non-leader pods are shown as "Down" by prometheus when it scrapes the pod.
Raised originally in #132 (comment)
To fix this, controller-runtime should start serving metrics while waiting to acquire leader status.
We need to make sure however that it doesn't serve metrics that are false, prometheus should pick up no time series from it and just connect, read and get a basically empty document.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.