Skip to content

Many local commands block on network. #479

Closed
@warpfork

Description

@warpfork

The online version check, placed in the default PreRun hooks in the command parser, makes many operations that should be purely local (and consistently fast) into potentially long-blocking calls.

Expected: commands like minikube stop should be able to stop a local VM immediately. It should not depend on whether I'm on flaky cafe wifi ;)

This may accumulate into a significant performance problem if one scripts a series of interactions with minikube -- a half-dozen minikube commands multiplied by a network latency that varies between ~0s and ~15s (my life right now, I know, I know, but it's true) makes what should be a fast and beautiful user story into several minutes of waiting.

Can I disable version checking with a flag or env var of some kind, so my script over $n minikube commands doesn't need to make $n identical network requests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions