-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Disable minikube-scheduled-stop.service until a user schedules a stop #9865
Comments
Something for you, @priyawadhwa ? |
Yup that's for me! Did this happen before or after you tried to schedule a stop? If before, it's not technically a bug since we copy in the env file when a user runs
(kind of ugly that the service says a failure though if that's the case, the service doesn't really need to be started until someone tries to schedule a stop) |
It happened on boot of a brand new cluster |
That makes sense, since the file hasn't been copied over yet. Best way to fix this is probably to disable the systemd service so it doesn't start on boot, and then enable it the first time user runs |
@priyawadhwa I like to work on this |
Thanks @tharun208 ! Some steps you will need to take:
|
systemd has a weird way from stopping services to get enabled by default: |
@tharun208 I haven't heard from you, meanwhile I assign this to @jiefenghe please feel free to start working on this |
/assign |
Then my understanding is to add a 50-minikube.preset file with But since the suggested enable step in |
The environment file is missing:
It needs to have a
-
in front:EnvironmentFile=-/var/lib/minikube/scheduled-stop/environment
The text was updated successfully, but these errors were encountered: