-
Notifications
You must be signed in to change notification settings - Fork 15k
docs(node-shutdown): add unattended-upgrades conflict warning #51307
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
base: main
Are you sure you want to change the base?
Conversation
The committers listed above are authorized under a signed CLA. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
Welcome @iscultas! |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
/assign @reylejano |
{{< warning >}} | ||
|
||
unattended-upgrades package conflicts with Node graceful shutdown. Kubelet fails to obtain the necessary lock to handle shutdown events | ||
properly if the `shutdownGracePeriod` value is greater than 30 seconds. unattended-upgrades configuration must be suppressed by creating | ||
`/etc/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf` symlink to `/dev/null`. Refer to | ||
[logind.conf documentation](https://www.freedesktop.org/software/systemd/man/latest/logind.conf.html) for more details. | ||
|
||
{{< /warning >}} |
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.
I'd put this in the page introduction, but as a caution not a warning
{{< warning >}}
The `unattended-upgrades` package from Debian conflicts with node graceful shutdown in
its normal configuration.
If you use the default configuration of `unattended-upgrades`, which customizes the server shutdown
grace period, then the kubelet fails to obtain the necessary lock to handle shutdown events properly.
This happens if the `shutdownGracePeriod` value is greater than 30 seconds.
To avoid this, you can suppress part of the `unattended-upgrades` configuration,
by making `/etc/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf` be a symbolic link
to `/dev/null`.
For more details, refer to the
[`logind.conf` documentation](https://www.freedesktop.org/software/systemd/man/latest/logind.conf.html).
{{< /caution >}}
/sig node |
@reylejano I hope you have a moment to check out this PR. Thanks a bunch |
Description
Add warning about using unattended-upgrades package together with Node graceful shutdown.
Issue
Closes: kubernetes/kubernetes#102818