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 Sep 18, 2023
1 parent dc0c72d commit ef0bf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbooks/source/recycle-all-nodes.html.md.erb
Original file line number Diff line number Diff line change
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 ef0bf12

Please sign in to comment.