cortex icon indicating copy to clipboard operation
cortex copied to clipboard

CLI request timeout flag

Open vishalbollu opened this issue 5 years ago • 0 comments
trafficstars

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 avatar Aug 31 '20 13:08 vishalbollu