updated talos config for iscsi

This commit is contained in:
2026-06-18 23:01:40 -05:00
parent 99958979d6
commit a4a68eeb5a
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
declare -A WORKERS=(
["jungle-cruise"]="10.1.71.69"
)
for worker in "${!WORKERS[@]}"; do
ip="${WORKERS[$worker]}"
echo "Applying config to $worker ($ip)..."
talosctl apply-config --nodes ${ip} \
--file clusterconfig/fastpass-${worker}.yaml --mode=reboot
echo "Waiting for $worker to be Ready..."
kubectl wait --for=condition=Ready node/${worker} --timeout=10m
echo "$worker is back up. Sleeping 30s before next node..."
sleep 30
done
echo "All workers updated!"