-
Notifications
You must be signed in to change notification settings - Fork 522
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
release: remove timeout overrides for systemd units #1483
release: remove timeout overrides for systemd units #1483
Conversation
The key metric here is elapsed time from when reboot is initiated until systemd finishes shutting down everything and triggers the actual reboot. |
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.
🕹️
From the code perspective this looks right.
How can we best gather that? |
The best way is by watching the console when the system is shutting down. |
db76613
to
2f8d409
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.
👍
This commit removes the `DefaultTimeoutStartSec` configuration, since services like kubernetes require more than 10 seconds to start in the vmware variant.
2f8d409
to
63042d5
Compare
|
Issue number:
#1450
Description of changes:
This commit removes the
DefaultTimeoutStartSec
configuration, since services like kubernetes require more than 10 seconds to start in the vmware variant.Only the
DefaultTimeoutStopSec
is overwritten since kubernetes pods take longer to stop when using the default value (1min 30s), as shown in the logs:Testing done:
In k8s 1.19, ecs and dev aarch64:
systemctl status
to check that no units were failingTimeoutStopSec
andTimeoutStartSec
withsystemctl show
:DefaultTimeoutStartUSec=1min 30s # Was 10s DefaultTimeoutStopUSec=10s
curl http://localhost
from within the containerk8s 1.19
First boot:
Reboot:
ECS
First boot:
Reboot:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.