-
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 scheduled stop service on minikube start #10123
disable scheduled stop service on minikube start #10123
Conversation
Hi @tharun208. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tharun208 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Can one of the admins verify this patch? |
2d60563
to
b19614c
Compare
Signed-off-by: Tharun <rajendrantharun@live.com>
b19614c
to
15c6618
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tharun208 thanks for adding this. So disabling the service default would need to happen in two places:
- The kic base image for the docker driver
- The ISO for our VM drivers
For point 1 I think it may be as removing the ln
command which links the service:
minikube/deploy/kicbase/Dockerfile
Line 156 in f17951c
RUN ln -fs /usr/lib/systemd/system/minikube-scheduled-stop.service \ |
(make sure you don't delete the chmod command that is included in that RUN
statement)
To ensure this works locally, I would run:
make kic-base-image # To build the new version of the image
minikube start --base-image <name of new image> # To start minikube with your local kic image
minikube ssh -- sudo systemctl status scheduled-stop # To make sure the service is actually disabled
For the ISO, removing the same line here should do the trick:
ln -fs /usr/lib/systemd/system/minikube-scheduled-stop.service \ |
Let's also wait for #10132 to merge before merging this |
Hey @tharun208 are you still working on this? |
This affects only windows, right? The updated function is used only in windows builds. |
Hey @tharun208 this PR has been quiet for a few weeks now, I'm going to close it for now. Feel free to reopen whenever you have a chance to take a look at it! |
Hi @priyawadhwa, I'm trying to continue tharun208's work. I have a few questions in terms of your comments:
|
I did more investigation and learnt that:
|
Signed-off-by: Tharun rajendrantharun@live.com
Fixes #9865
@priyawadhwa I am able to do the
enable
the service only when scheduled-stop is initiated. But I went through different docs and references to makesystemd
services to be in an idle state. Need your help on this part.