kubectl sort bykubectl sort by Posted Jan 7, 2022 Updated Oct 21, 2025 By 1 min read 1 kubectl get pods -o wide -n prod --sort-by=.spec.nodeName tiddlywiki kubernetes by This post is licensed under CC BY 4.0 by the author. Share