summaryrefslogtreecommitdiffstats
path: root/roles/tuned
Commit message (Collapse)AuthorAgeFilesLines
* Automatic profile setting for tuned 2.9Jiri Mencak2018-01-121-1/+6
| | | | | | | | | Tuned 2.9 introduces automatic and manual profile selection. If there is a file /etc/tuned/profile_mode containing "manual" on a system with tuned 2.9, without this PR the appropriate OCP profiles will not be set. This PR removes the file prior to tuned restart, in addition to /etc/tuned/active_profile to make the tuned profile selection automatic.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-201-1/+1
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Separate tuned daemon setup into a role.Jiri Mencak2017-10-107-0/+125
Currently, profiles for the tuned daemon are set only for OpenShift node(s). This excludes the OpenShift loadbalancer. As a result, ARP cache limits on loadbalancers are not raised. This causes problems with HA setups where loadbalancers serve 1k+ OpenShift nodes. This commit ensures the openshift-control-plane role is applied to loadbalancers, masters and OpenShift infra nodes. Regular OpenShift worker nodes get the openshift-node profile. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1498213