kubectl get rs
should be ordered better and hide 0 replica ones by default #27212
Closed
Description
Right now when you get RS with kubectl get rs
, they're ordered alphabetically by their name. Since most RS will be created by deployments, it'd be <deployment-name>-<pod-template-hash>
and the order will be totally random. We should order them better, for example, by number of current replicas, and hide the ones with 0 replicas by default.
@kubernetes/kubectl @kubernetes/deployment