mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
let type struct,array,slice also being considerred when sorting kubectl output
This commit is contained in:
@@ -1781,6 +1781,7 @@ __EOF__
|
||||
kube::test::get_object_assert pods "{{range.items}}{{$id_field}}:{{end}}" ''
|
||||
# Command
|
||||
kubectl get pods --sort-by="{metadata.name}"
|
||||
kubectl get pods --sort-by="{metadata.creationTimestamp}"
|
||||
|
||||
############################
|
||||
# Kubectl --all-namespaces #
|
||||
|
||||
Reference in New Issue
Block a user