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

Linux Questions

1676 readers
11 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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] lemmyng@lemmy.ca 3 points 8 months ago

serial: 1 should do that...

[โ€“] JonBrohauge@feddit.dk 1 points 2 months ago

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