Skip to content

Commit

Permalink
Update extracting pod as the api output remvoed timeout? (#4771)
Browse files Browse the repository at this point in the history
  • Loading branch information
poornima-krishnasamy authored Oct 6, 2023
1 parent 2d78e4d commit 3358323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runbooks/source/recycle-all-nodes.html.md.erb
Original file line number Diff line number Diff line change
@@ -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
---

Expand Down Expand Up @@ -57,7 +57,7 @@ and `tail -f delete_pods.log` in another terminal. The `<cluster-name>` 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

Expand Down

0 comments on commit 3358323

Please sign in to comment.