It seems that kubespray applies the label node-role.kubernetes.io/master: "true" but kubeadm design doc says it should be node-role.kubernetes.io/master: ""
https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.9.md#mark-master
cc: @luxas
/kind bug
Counterpoint, Prometheus cannot handle empty labels, and hence it is tricky to distinguish master nodes from regular nodes:
This sounds like a Prometheus bug.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
@fejta-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue with/reopen.
Mark the issue as fresh with/remove-lifecycle rotten.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Most helpful comment
This sounds like a Prometheus bug.