Skip to content

kubectl get rs should be ordered better and hide 0 replica ones by default #27212

Closed
@janetkuo

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions