From 2372c94f59bd04111702dcbe1b0a63fe7b1c507d Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 4 May 2025 11:24:37 +0000 Subject: [PATCH] add scripts to upgrade ubuntu nodes and upgrade k8s cluster [ci skip] --- update_k8s_worker.sh => update_k8s.sh | 22 +++++++++++++++++----- update_node.sh | 8 ++++++++ upgrade-k8s.sh | 6 ------ 3 files changed, 25 insertions(+), 11 deletions(-) rename update_k8s_worker.sh => update_k8s.sh (59%) create mode 100644 update_node.sh delete mode 100644 upgrade-k8s.sh diff --git a/update_k8s_worker.sh b/update_k8s.sh similarity index 59% rename from update_k8s_worker.sh rename to update_k8s.sh index 65eb261c..4aa909d4 100755 --- a/update_k8s_worker.sh +++ b/update_k8s.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash # run for all nodes using : -# for n in $(kbn | grep 'k8s-node' | awk '{print $1}'); do echo $n; kb drain $n --ignore-daemonsets --delete-emptydir-data; s wizard@$n 'bash -s'