diff --git a/docs/16-Ultimate-Mocks/09-general/docs/01-cluster-state-questions.md b/docs/16-Ultimate-Mocks/09-general/docs/01-cluster-state-questions.md index 2b75c824..7fb834ca 100644 --- a/docs/16-Ultimate-Mocks/09-general/docs/01-cluster-state-questions.md +++ b/docs/16-Ultimate-Mocks/09-general/docs/01-cluster-state-questions.md @@ -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?