argoproj / argoproj/argo-workflows
add "Timeout" option and retry for function `runKubectl`
- 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
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