Skip to content

Add --field-selector flag for server-side filtering when listing resources #59

@Veinar

Description

@Veinar

kubectl get pods --field-selector status.phase=Running narrows a list without fetching everything. Adding --field-selector to vismo get and passing it into metav1.ListOptions.FieldSelector is a small change that makes vismo much more useful in large namespaces - the API server does all the filtering work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to CLI flags, commands, or UX in the terminalenhancementNew feature or requestpriority: mediumsize: smallSimple change with low complexity and minimal risk

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions