Skip to content

Commit

Permalink
Update extracting pod as the api output remvoed timeout?
Browse files Browse the repository at this point in the history
  • Loading branch information
poornima-krishnasamy committed Oct 6, 2023
1 parent dc0c72d commit 6939d32
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 6939d32

Please sign in to comment.