Also <@U016WKMFLL9> I have a deployment.yaml cont...
# k3s
h
Also @creamy-pencil-82913 I have a deployment.yaml controlling the pod that runs my container. If the node dies where my pods are running, k3s will eventually restart them, but it doesn’t take some time. Do you have any suggestions or settings in my deployment.yaml so that my pods get spun back up faster after they are restarted into a new node? Or any docs or pro tips you can point me towards. Thanks
c
note that changing the settings as discussed in that thread may have side effects such as increased CPU overhead (due to shorter check intervals) and thrashing in case of brief disruptions. You need to chose between stability/efficiency and reactivity.
h
Hey Brandon, I hope all is well. I read the thread, and so in each of my server nodes, I updated each of their config.yamls to include: # /etc/rancher/k3s/config.yaml  (server nodes only)   kubelet-arg: ◦ node-status-update-frequency=4s   kube-controller-manager-arg: ◦ node-monitor-period=4s ◦ node-monitor-grace-period=16s ◦ pod-eviction-timeout=20s   kube-apiserver-arg: ◦ default-not-ready-toleration-seconds=20 ◦ default-unreachable-toleration-seconds=20 But after adding all of these flags into each of my server nodes, and then running “systemctl daemon-reload and then systemctl restart k3s” Now none of my nodes are responding when I run “kubectl get nodes” What did I do wrong here? Do I literally have to re-run the install script on each of my air-gapped setup nodes after updating their config.yamls ?
c
Sounds like you broke something and k3s isn't running?
h
All of my server nodes have this exact updated config.yaml with the exact syntax for the flags
And I systemctl restarted k3s on all of them
@creamy-pencil-82913 I found the issue
Kube-controller-manager in v1.29+ no longer recognizes —pod-eviction-timeout
The flag was removed when the node taint eviction logic was refactored , that’s why systems hero restarting k3s
I just deleted that flag and resolved the issue
I wanted to add this key find to the GitHub comments section on the thread… but I cannot. Can you please add this key find to the thread so others don’t run into this problem I just solved after 4 hours
c
Maybe start a new discussion thread?