Description of problem: Currently no way to set a node selector for the metrics install. Attempting to set openshift_additional_projects to override the default node selector also does not appear to work. openshift_additional_projects={'default':{'default_node_selector':'region=infra'},'openshift-infra':{'default_node_selector':'region=infra'}} Version-Release number of selected component (if applicable): 3.1.latest How reproducible: Metrics advanced install Steps to Reproduce: 1. Preform the standard with metrics enabled Actual results: Deploys to any node Expected results: Able to define a node selector Additional info:
fix for 3.5 https://github.com/openshift/openshift-ansible/pull/3271
In 3.4, the work around for this is to edit the metrics template for deployment and add the node selector. The ansible role relies on the deployer which utilizes template
Are we not adding any documentation for these new options? That might be helpful as the patch seems to add openshift_metrics_* selectors but in the byo.example for metrics and everything else we use openshift_*_hosted_*. Thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0903