Commit af71c967 authored by Mike Wilson's avatar Mike Wilson

bumping timeouts for apiserver communication.

parent 0d900769
...@@ -975,7 +975,7 @@ def get_node_name(): ...@@ -975,7 +975,7 @@ def get_node_name():
# Get all the nodes in the cluster # Get all the nodes in the cluster
cmd = 'kubectl --kubeconfig={} get no -o=json'.format(kubeconfig_path) cmd = 'kubectl --kubeconfig={} get no -o=json'.format(kubeconfig_path)
cmd = cmd.split() cmd = cmd.split()
deadline = time.time() + 60 deadline = time.time() + 180
while time.time() < deadline: while time.time() < deadline:
try: try:
raw = check_output(cmd) raw = check_output(cmd)
...@@ -1028,7 +1028,7 @@ def _apply_node_label(label, delete=False, overwrite=False): ...@@ -1028,7 +1028,7 @@ def _apply_node_label(label, delete=False, overwrite=False):
cmd = '{} --overwrite'.format(cmd) cmd = '{} --overwrite'.format(cmd)
cmd = cmd.split() cmd = cmd.split()
deadline = time.time() + 60 deadline = time.time() + 180
while time.time() < deadline: while time.time() < deadline:
code = subprocess.call(cmd) code = subprocess.call(cmd)
if code == 0: if code == 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment