https://rancher.com/ logo
Title
s

sparse-fireman-14239

10/03/2022, 11:18 AM
I’ve gone through the documentation for RKE2, Googled and still haven’t found a way to gracefully shutdown an RKE2 node. systemctl stop rke2-server (or agent) doesn’t seem to work, regardless of which version I’ve tried (1.22.x & 1.23.x)
q

quick-sandwich-76600

10/03/2022, 12:26 PM
You can configure the Kubelet args with RKE2. Look for "--kubelet-arg" in: https://docs.rke2.io/install/install_options/server_config/ Then you can have a look here to see how it works and which are the params and the values you should use: https://kubernetes.io/blog/2021/04/21/graceful-node-shutdown-beta/
👍 1
s

sparse-fireman-14239

10/03/2022, 3:19 PM
Thanks @quick-sandwich-76600
👍 1