mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 06:59:03 +00:00
Automatic merge from submit-queue numeric ordering of kubectl outputs **What this PR does / why we need it**: Instead of having kubectl listing the pods in a alphabetical way: foobar-1-build foobar-10-build foobar-2-build foobar-3-build With the parameter --sort-by '{.metadata.name}' it now gives: foobar-1-build foobar-2-build foobar-3-build foobar-10-build **Which issue this PR fixes** https://github.com/openshift/origin/issues/7229 **Special notes for your reviewer**: I have followed the dependencies requirements from https://github.com/kubernetes/community/blob/master/contributors/devel/godep.md **Release note**: ```release-note Import a natural sorting library and use it in the sorting printer. ```