summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf')
-rw-r--r--roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf b/roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf
new file mode 100644
index 000000000..3229bc56b
--- /dev/null
+++ b/roles/openshift_node_upgrade/templates/openvswitch-avoid-oom.conf
@@ -0,0 +1,3 @@
+# Avoid the OOM killer for openvswitch and it's children:
+[Service]
+OOMScoreAdjust=-1000