Skip to content
Discussion options

You must be logged in to vote

Seems to work fine for me... which would seem to confirm that the issue is due to your grace periods being longer than the configured max delay on your node, as previously suggested.

root@ip-172-31-23-114:~# mkdir -p /var/lib/rancher/k3s/agent/etc/kubelet.conf.d
cat <<EOF >/var/lib/rancher/k3s/agent/etc/kubelet.conf.d/90-graceful-shutdown.conf
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
shutdownGracePeriod: 15s
shutdownGracePeriodCriticalPods: 10s
EOF

root@ip-172-31-23-114:~# systemd-inhibit
WHO                          UID USER PID COMM            WHAT     WHY                                                       MODE
ModemManager                 0   root 999 Mo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pdf
Comment options

@brandond
Comment options

brandond Aug 9, 2026
Collaborator

@pdf
Comment options

@brandond
Comment options

Answer selected by brandond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants