Skip to content

CLI request timeout flag #1320

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

Open
vishalbollu opened this issue Aug 31, 2020 · 0 comments
Open

CLI request timeout flag #1320

vishalbollu opened this issue Aug 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vishalbollu
Copy link
Contributor

vishalbollu commented Aug 31, 2020

Description

Add a timeout to CLI requests to the operator. Here are some potential reasons for why requests may hang (verify and address):

  • operator doesn't exist (crashed and recovering from an error)?
  • operator is busy
  • cluster has been spun down

Add a default timeout (e.g. 5 seconds) and a timeout flag to the CLI to customize the timeout.

Keep in mind that with lots of instances (e.g. 300+), cortex get could take a while.

After adding the flag, revisit global timeout for operator requests

@vishalbollu vishalbollu added the enhancement New feature or request label Aug 31, 2020
@deliahu deliahu changed the title CLI request timeout CLI request timeout flag Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant