InhibitDelayMaxSec period is not honoured. #4688
Unanswered
ravisekhar-akkineni
asked this question in
Q&A
Replies: 1 comment 6 replies
-
I suspect that graceful node shutdown's systemd inhibitor locks may expect that the kubelet is running in its own systemd unit. Can you confirm if rke2's shutdown is being delayed, or is it terminated immediately and the lock ignored? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have enabled GracefulNodeShutdownBasedOnPodPriority and also created different priority classes as listed below,
terminationGracePeriodSeconds is not configured for any of the pods belong to above priority groups and also intentionally added code to ignore SIGTERM for all of these 6 PODs. As expected InhibitDelayMaxSec set to 600 in /etc/systemd/logind.conf.d/99-kubelet.conf file.
I expected that if "systemctl reboot" is executed, systemd waits for atleast 600 seconds as kubelet has to wait for 100 seconds for each of the pod (since SIGTERM is ignored) but device is getting rebooted always after 30 seconds.
What might be the reason for rebooting system after 30 seconds?
Beta Was this translation helpful? Give feedback.
All reactions