diff options
author | Jiri Mencak <jmencak@redhat.com> | 2017-10-03 19:57:01 +0200 |
---|---|---|
committer | Jiri Mencak <jmencak@redhat.com> | 2017-10-10 13:47:35 +0200 |
commit | 17e38ad8c62ac8f1c8f983e63181f69879a45d85 (patch) | |
tree | a3038e8f2fe7d8d0ea7f20b77a7ea7c3841ea14e /roles/tuned/templates/openshift-node | |
parent | 2fb41eea9aa4b328d7da1c5e4b7de2e717549ed7 (diff) | |
download | openshift-17e38ad8c62ac8f1c8f983e63181f69879a45d85.tar.gz openshift-17e38ad8c62ac8f1c8f983e63181f69879a45d85.tar.bz2 openshift-17e38ad8c62ac8f1c8f983e63181f69879a45d85.tar.xz openshift-17e38ad8c62ac8f1c8f983e63181f69879a45d85.zip |
Separate tuned daemon setup into a role.
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
Diffstat (limited to 'roles/tuned/templates/openshift-node')
-rw-r--r-- | roles/tuned/templates/openshift-node/tuned.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/tuned/templates/openshift-node/tuned.conf b/roles/tuned/templates/openshift-node/tuned.conf new file mode 100644 index 000000000..78c7d19c9 --- /dev/null +++ b/roles/tuned/templates/openshift-node/tuned.conf @@ -0,0 +1,10 @@ +# +# tuned configuration +# + +[main] +summary=Optimize systems running OpenShift nodes +include=openshift + +[sysctl] +net.ipv4.tcp_fastopen=3 |