mirror of
https://github.com/outbackdingo/home-ops.git
synced 2026-01-27 10:19:11 +00:00
15 lines
643 B
Bash
Executable File
15 lines
643 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Reset the worker nodes first since the path to them is through the control plane nodes
|
|
talosctl reset --graceful=false --reboot -n k8s-control01 -e k8s-control01
|
|
talosctl reset --graceful=false --reboot -n k8s-control02 -e k8s-control02
|
|
talosctl reset --graceful=false --reboot -n k8s-control03 -e k8s-control03
|
|
|
|
echo "Waiting for workers to reset... ^C to stop here"
|
|
sleep 5
|
|
|
|
# Reset the control plane nodes
|
|
talosctl reset --graceful=false --reboot -n k8s-worker01 -e k8s-worker01
|
|
talosctl reset --graceful=false --reboot -n k8s-worker02 -e k8s-worker02
|
|
talosctl reset --graceful=false --reboot -n k8s-worker03 -e k8s-worker03
|