summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-11-02 10:07:11 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-11-02 10:07:11 -0300
commit36ecf1707a18a1411e2057355028e6cb285197a4 (patch)
treecc341f71bc3aecc0aa52224b0d4808a3da4ad7f7 /roles/openshift_node/templates
parentc97858a6bc61251c02d2ca27172ebe87727b776a (diff)
downloadopenshift-36ecf1707a18a1411e2057355028e6cb285197a4.tar.gz
openshift-36ecf1707a18a1411e2057355028e6cb285197a4.tar.bz2
openshift-36ecf1707a18a1411e2057355028e6cb285197a4.tar.xz
openshift-36ecf1707a18a1411e2057355028e6cb285197a4.zip
Deploy an OOM systemd override for openvswitch.
At recommendation of network team, more details in: https://bugzilla.redhat.com/show_bug.cgi?id=1331590
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/openvswitch-avoid-oom.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/openvswitch-avoid-oom.conf b/roles/openshift_node/templates/openvswitch-avoid-oom.conf
new file mode 100644
index 000000000..3229bc56b
--- /dev/null
+++ b/roles/openshift_node/templates/openvswitch-avoid-oom.conf
@@ -0,0 +1,3 @@
+# Avoid the OOM killer for openvswitch and it's children:
+[Service]
+OOMScoreAdjust=-1000