Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minkube being repeatedly started and stopped every 3 seconds #313

Closed
asampal opened this issue Oct 17, 2020 · 8 comments
Closed

Minkube being repeatedly started and stopped every 3 seconds #313

asampal opened this issue Oct 17, 2020 · 8 comments
Assignees
Labels
in-next-release kind/bug Something isn't working

Comments

@asampal
Copy link

asampal commented Oct 17, 2020

Environment:

Extension version:
1.6.1

VSCode version:
Version: 1.51.0-insider (user setup)
Commit: 89c002ab02f87102d91efc83c191ef1174756c6a
Date: 2020-10-15T23:17:08.035Z
Electron: 9.3.2
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041

OS:
OS Name Microsoft Windows 10 Pro
Version 10.0.19041 Build 19041

Docker Desktop:
image

Description:
Minikube continuously starts and restarts about every 3 seconds. This happens at any time, i.e. even before the k8s cluster is started from the status bar, through the time that the cluster is running and continues after the cluster is stopped. Note that the docker-desktop cluster is also running all the while.

minikube-restarting

Repro step:
Install the above versions of VSCode, the extension, and Docker Desktop and monitor the running processes.

@asampal asampal changed the title Minkube being repeatedly started and stopped Minkube being repeatedly started and stopped every 3 seconds Oct 17, 2020
@nelango nelango added the kind/bug Something isn't working label Oct 19, 2020
@j-windsor j-windsor self-assigned this Oct 19, 2020
@kschaab
Copy link
Contributor

kschaab commented Oct 21, 2020

I think this is a call to minikube status, it shouldn't be starting anything, are you seeing it start something?

@asampal
Copy link
Author

asampal commented Oct 23, 2020

No, there's nothing visual - where should I look?

@asampal
Copy link
Author

asampal commented Oct 23, 2020

If you look at the command line, it looks like it's doing both minikube profile list and minikube status.

1 12-29-20-6507

13 12-29-20-9307

@kschaab
Copy link
Contributor

kschaab commented Oct 23, 2020

Yes, we are looking at ways to address this. For the time being you can turn off minikube status bar if you don't require it. That will prevent this behavior.

@asampal
Copy link
Author

asampal commented Oct 24, 2020

Just noticed now that when this open/close happens lots of log files are created in the temp directory. There were about 140 000. Including a zip containing what was emitted over just one minute. Note that some of these (not all I think - only saw some messages about the docker demon not being found in a brief look) might have been generated because Docker Desktop isn't running all the time - it was running when this issue was reported, though. IMO not having Docker Desktop shouldn't create spurious logs.

minikube.exe.logs.zip

@sivakku
Copy link
Contributor

sivakku commented Oct 26, 2020

@asampal - We are working on releasing a hotfix soon that would address this issue. Thank you for your patience.

@redborian
Copy link
Contributor

The hotfix has been released. Feel free to try the latest release and provide feedback @asampal

@asampal
Copy link
Author

asampal commented Nov 5, 2020

Thanks, for the heads-up. I use the Insiders version so I got the fix immediately. Seems fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-next-release kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants