diff options
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r-- | roles/openshift_node_upgrade/tasks/restart.yml | 1 | ||||
-rw-r--r-- | roles/openshift_node_upgrade/templates/node.service.j2 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/restart.yml b/roles/openshift_node_upgrade/tasks/restart.yml index b24d8cec7..6947223af 100644 --- a/roles/openshift_node_upgrade/tasks/restart.yml +++ b/roles/openshift_node_upgrade/tasks/restart.yml @@ -43,4 +43,5 @@ state: started delay: 10 port: "{{ openshift.master.api_port }}" + timeout: 600 when: inventory_hostname in groups.oo_masters_to_config diff --git a/roles/openshift_node_upgrade/templates/node.service.j2 b/roles/openshift_node_upgrade/templates/node.service.j2 index d4f0b7762..1dbe58439 100644 --- a/roles/openshift_node_upgrade/templates/node.service.j2 +++ b/roles/openshift_node_upgrade/templates/node.service.j2 @@ -25,6 +25,7 @@ SyslogIdentifier={{ openshift.common.service_type }}-node Restart=always RestartSec=5s OOMScoreAdjust=-999 +KillMode=process [Install] WantedBy=multi-user.target |