Anyone using `GracefulNodeShutdown` setting in kub...
# general
h
Anyone using
GracefulNodeShutdown
setting in kubelet? I have tried dropping the following config in
/var/lib/rancher/rke2/agent/etc/kubelet.conf.d
without luck. The nodes are not drained when i reboot or do shutdown
Copy code
apiVersion: <http://kubelet.config.k8s.io/v1beta1|kubelet.config.k8s.io/v1beta1>
kind: KubeletConfiguration
shutdownGracePeriod: 30s
shutdownGracePeriodCriticalPods: 10s
b
Have you used the Rancher web interface to cordon the nodes?
h
No as far as i could understand this setting should cordon and drain the nodes automatically on shutdown