techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Kured #193

Closed irish1986 closed 1 year ago

irish1986 commented 1 year ago

Proposed Changes

Following PR #191 , I am proposing new feature to be added, although this slightly customize this project adding a none essentially feature it is very useful mechanism.

I proposed to add kured workload as part of the default configuration. kured watches for the presence of a reboot sentinel i.e.: /var/run/reboot-required and allows to configure how nodes should be reboot as desired. The kured docs is extensive and allows all sort of complexe use case but essentially it a usefule way to control how nodes reboots without creating too much chaos and potential downtime.

For instance, kured can automated cordon and drains worker nodes before reboot and uncordoning them after which typically requires some kubectl-fu ninja skill. kured automated all that as per the configuration rules set.

Finally, there are plenty of cool ways to integrate kured into prometheus, slack and other means of notification since again this is individual to each installation.

Checklist

timothystewart6 commented 1 year ago

see comment https://github.com/techno-tim/k3s-ansible/pull/192#issuecomment-1376588631