this post was submitted on 29 Aug 2024
6 points (100.0% liked)

Linux Questions

1550 readers
3 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I am looking to write a playbook that updates and reboots each system one at a time. It need to verify that the node comes back healthy before starting on the next one. If it fails it should stop altogether.

I think I can just wait for a reboot and then check a condition before starting on the next one. Has anyone done this before? I think it is doable but I am curious on the thoughts of others.

For context I am looking to not kill my kubernetes cluster.

you are viewing a single comment's thread
view the rest of the comments
[–] JonBrohauge 1 points 1 month ago

FWIW. We patch our hosts one at a time with a combination of bash-scripts and Ansible