Bug 1671137
Summary: | [Monitoring] openshift-monitoring prometheus-operator pods do not tolerate masters | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | W. Trevor King <wking> |
Component: | RFE | Assignee: | Christian Heidenreich <cvogel> |
Status: | CLOSED NOTABUG | QA Contact: | Xiaoli Tian <xtian> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | anpicker, aos-bugs, cvogel, jokerman, minden, mmccomas, surbania, wking |
Target Milestone: | --- | Keywords: | RFE |
Target Release: | 4.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-21 09:36:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
W. Trevor King
2019-01-30 20:40:47 UTC
Thanks for the in depth description Trevor. Would adding: ```yaml tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master ``` be enough (like we do for node exporter [1])? Or do we need to prefer workers but also tolerate masters? [1] https://github.com/openshift/cluster-monitoring-operator/blob/master/assets/node-exporter/daemonset.yaml#L76-L78 This is a feature so scheduling it for the next release. Looks like you adjusted the toleration in the node-exporter recently [1], but yeah, I think that's all you need. And I think we can leave scheduling up to Kubernetes instead of setting a compute preference. This is not really my wheelhouse though, so take my advice with a grain of salt ;). [1]: https://github.com/openshift/cluster-monitoring-operator/commit/fd3e4bf74cdcdaa27ff15f0055ea4359e227408f#diff-ea42f2a19bba3e07005d6b437ed1a902L77 |