Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ kubectl get po -n namespace2

```
// get the top 3 hungry pods
Option 1:
kubectl top pod -A --sort-by=cpu
Option 2:
kubectl top pod --all-namespaces | sort --reverse --key 3 --numeric | head -3

// putting into file
Expand Down