kubernetes / kubernetes/kubectl

Allow disabling retries

Open
#1,360 11 comments 0 reactions 1 assignee Claimed by @seans3 View on GitHub
kind/feature lifecycle/rotten needs-triage triage/needs-information
Dominant language
Go
Stars
3.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

**What would you like to be added**:

Allow disabling request retries.

**Why is this needed**:

When using `--request-timeout`, the timeout applies to each individual request and not the command as a whole. If a context is unreachable, commands like `kubectl exec` (which don't retry) time out after `--request-timeout`. However, commands like `kubectl get` it will retry the command so it times out much later since it has to timeout multiple times before the command finishes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.