From 917d3d0dc851a1400132f7a754ef18138387168b Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Sat, 12 Aug 2023 18:34:53 +0200 Subject: [PATCH] fix: final changes Signed-off-by: Christian Kotzbauer --- cmd/kured/main.go | 1 + tests/kind/follow-coordinated-reboot.sh | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/kured/main.go b/cmd/kured/main.go index d73a216c6..c41bb8a65 100644 --- a/cmd/kured/main.go +++ b/cmd/kured/main.go @@ -857,6 +857,7 @@ func root(cmd *cobra.Command, args []string) { log.Infof("Blocking Pod Selectors: %v", podSelectors) log.Infof("Reboot schedule: %v", window) log.Infof("Reboot check command: %s every %v", sentinelCommand, period) + log.Infof("Concurrency: %v", concurrency) log.Infof("Reboot command: %s", restartCommand) if annotateNodes { log.Infof("Will annotate nodes during kured reboot operations") diff --git a/tests/kind/follow-coordinated-reboot.sh b/tests/kind/follow-coordinated-reboot.sh index f4d10e7da..e5885fda7 100755 --- a/tests/kind/follow-coordinated-reboot.sh +++ b/tests/kind/follow-coordinated-reboot.sh @@ -12,7 +12,6 @@ function gather_logs_and_cleanup { fi rmdir "$tmp_dir" - # The next commands are useful regardless of success or failures. if [[ "$DEBUG" == "true" ]]; then echo "############################################################" @@ -47,11 +46,11 @@ do echo "${#was_unschedulable[@]} nodes were removed from pool once:" "${!was_unschedulable[@]}" echo "${#has_recovered[@]} nodes removed from the pool are now back:" "${!has_recovered[@]}" - "$KUBECTL_CMD" logs -n kube-system -l name=kured --ignore-errors > "$tmp_dir"/node_output - if [[ "$DEBUG" == "true" ]]; then - echo "Kured pod logs:" - cat "$tmp_dir"/node_output - fi + #"$KUBECTL_CMD" logs -n kube-system -l name=kured --ignore-errors > "$tmp_dir"/node_output + #if [[ "$DEBUG" == "true" ]]; then + # echo "Kured pod logs:" + # cat "$tmp_dir"/node_output + #fi "$KUBECTL_CMD" get nodes -o custom-columns=NAME:.metadata.name,SCHEDULABLE:.spec.unschedulable --no-headers > "$tmp_dir"/node_output if [[ "$DEBUG" == "true" ]]; then