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