Skip to content

CLI request timeout flag #1320

Open
Open
@vishalbollu

Description

@vishalbollu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions