Open
Description
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