Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring kubectl --request-timeout via env #894

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ekantola
Copy link

@ekantola ekantola commented Jun 16, 2022

For example,

KUBECTL_DEFAULT_REQUEST_TIMEOUT=30 krane deploy ...

What are you trying to accomplish with this PR?
Configurable timeout for deploys not to fail in a setup where the currently unconfigurable 15 seconds is not always enough

How is this accomplished?
Add support for configuring this through an environment variable, with the suggeste name KUBECTL_DEFAULT_REQUEST_TIMEOUT

What could go wrong?
Hmm, not much? Maybe env var naming conflicts in some fringe cases, but doesn't seem very likely.

For example,

```
KUBECTL_DEFAULT_REQUEST_TIMEOUT=30 krane deploy ...
```
@ekantola ekantola requested a review from a team as a code owner June 16, 2022 09:41
@ekantola ekantola requested review from d1egoaz and peiranliushop and removed request for a team June 16, 2022 09:41
@ghost ghost added the cla-needed label Jun 16, 2022
@ghost ghost removed the cla-needed label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants