Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Mar 24, 2024
1 parent a4ae7e6 commit 85cea70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Use a similar approach whether the stat is CPU or memory, or the resource is Pod
for ctx in $(kubectl config get-contexts -o name)
do
kubectl --context=$ctx top pod --no-headers -A --sort-by=cpu | head -1 | awk -v ctx=$ctx '{printf "%s,%s,%s,%s\n", ctx, $1, $2, $3}'
done | sort -t ',' -k4 -h | tail -1 | | sed -E 's/,[[:digit:]]+[a-z]*$//i' > /opt/high_cpu_pod
done | sort -t ',' -k4 -h | tail -1 | sed -E 's/,[[:digit:]]+[a-z]*$//i' > /opt/high_cpu_pod
```
There is a lot going on here, isn't there?
Expand Down

0 comments on commit 85cea70

Please sign in to comment.