From 3358323a31d38c5c59352bc4f6b655906797a1f9 Mon Sep 17 00:00:00 2001 From: Poornima Krishnasamy Date: Fri, 6 Oct 2023 17:45:58 +0100 Subject: [PATCH] Update extracting pod as the api output remvoed timeout? (#4771) --- runbooks/source/recycle-all-nodes.html.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runbooks/source/recycle-all-nodes.html.md.erb b/runbooks/source/recycle-all-nodes.html.md.erb index 05d00f72..d75b6ced 100644 --- a/runbooks/source/recycle-all-nodes.html.md.erb +++ b/runbooks/source/recycle-all-nodes.html.md.erb @@ -1,7 +1,7 @@ --- title: Recycling all the nodes in a cluster weight: 255 -last_reviewed_on: 2023-08-18 +last_reviewed_on: 2023-10-06 review_in: 3 months --- @@ -57,7 +57,7 @@ and `tail -f delete_pods.log` in another terminal. The `` is the s delete_pods() { NAMESPACE=$(echo "$1" | sed -E 's/\/api\/v1\/namespaces\/(.*)\/pods\/.*/\1/') - POD=$(echo "$1" | sed -E 's/.*\/pods\/(.*)\/eviction\?timeout=.*/\1/') + POD=$(echo "$1" | sed -E 's/.*\/pods\/(.*)\/eviction/\1/') echo $NAMESPACE