summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-25 15:26:10 -0400
committerScott Dodson <sdodson@redhat.com>2017-07-25 15:26:10 -0400
commit46d9ba942e49e4b6953dc8fa47e38d6ea98ec122 (patch)
tree8c655ca4301587989cf69aa5fd5055a42e7808c4 /roles/openshift_node_upgrade
parent14fbd4a6b883a1080f7b57d1acd3a5240a92f39a (diff)
downloadopenshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.gz
openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.bz2
openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.xz
openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.zip
Set TimeoutStartSec=300
On nodes with thousands of services it may take a very long time to establish all of the network routing rules. The longest we've seen is about 180s
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r--roles/openshift_node_upgrade/templates/node.service.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/templates/node.service.j2 b/roles/openshift_node_upgrade/templates/node.service.j2
index d4f0b7762..e12a52c15 100644
--- a/roles/openshift_node_upgrade/templates/node.service.j2
+++ b/roles/openshift_node_upgrade/templates/node.service.j2
@@ -24,6 +24,7 @@ WorkingDirectory=/var/lib/origin/
SyslogIdentifier={{ openshift.common.service_type }}-node
Restart=always
RestartSec=5s
+TimeoutStartSec=300
OOMScoreAdjust=-999
[Install]