summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-10 09:25:36 -0400
committerScott Dodson <sdodson@redhat.com>2018-01-10 11:01:11 -0500
commit0841917f05cfad2701164edbb271167c277d3300 (patch)
tree97ea4e657da1a3513d0ffe5b3f5518521af466d9 /inventory
parent31d19c5e68e61d004a93db738772c120e7dd0eb5 (diff)
downloadopenshift-0841917f05cfad2701164edbb271167c277d3300.tar.gz
openshift-0841917f05cfad2701164edbb271167c277d3300.tar.bz2
openshift-0841917f05cfad2701164edbb271167c277d3300.tar.xz
openshift-0841917f05cfad2701164edbb271167c277d3300.zip
Add the ability to specify a timeout for node drain operations
Diffstat (limited to 'inventory')
-rw-r--r--inventory/hosts.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/inventory/hosts.example b/inventory/hosts.example
index bc85d1020..b07e0d159 100644
--- a/inventory/hosts.example
+++ b/inventory/hosts.example
@@ -991,6 +991,14 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',
# where as this would not
# openshift_upgrade_nodes_serial=4 openshift_upgrade_nodes_max_fail_percentage=50
#
+# A timeout to wait for nodes to drain pods can be specified to ensure that the
+# upgrade continues even if nodes fail to drain pods in the allowed time. The
+# default value of 0 will wait indefinitely allowing the admin to investigate
+# the root cause and ensuring that disruption budgets are respected. If the
+# a timeout of 0 is used there will also be one attempt to re-try draining the
+# node. If a non zero timeout is specified there will be no attempt to retry.
+#openshift_upgrade_nodes_drain_timeout=0
+#
# Multiple data migrations take place and if they fail they will fail the upgrade
# You may wish to disable these or make them non fatal
#