Skip to content

Commit

Permalink
increasing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Nov 21, 2024
1 parent e87bea9 commit f6d5083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/krkn_lib/k8s/krkn_kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,11 +1150,12 @@ def exec_command_on_node(
pod_body = yaml.safe_load(
pod_template.render(nodename=node_name, podname=exec_pod_name)
)

logging.info(
f"Creating pod to exec command {command} on node {node_name}"
)
try:
self.create_pod(pod_body, exec_pod_namespace, 300)
self.create_pod(pod_body, exec_pod_namespace, 500)
except Exception as e:
logging.error(
f"failed to create pod {exec_pod_name} on node {node_name},"
Expand Down

0 comments on commit f6d5083

Please sign in to comment.