argoproj / argoproj/argo-workflows

add "Timeout" option and retry for function `runKubectl`

Open
#11,965 5 comments 0 reactions 0 assignees View on GitHub
area/templates/resource solution/workaround
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary

add "Timeout" option and retry for function `runKubectl`.

## Use Cases

1. If the apiserver is unreachable for some reason, `runKubectl` will hang. We need to set a reasonable timeout and retry after few seconds.

---

**Message from the maintainers**:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Contributor guide

Open the contributing guide

Research direction

Locate the Go function runKubectl and inspect how it invokes kubectl and handles command completion. Define a reasonable timeout and retry behavior for an unreachable apiserver, then verify that normal commands still complete and that timeout failures are retried as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.