Skip to content

Add an option for a "deployment-query" #159

@superbrothers

Description

@superbrothers

What would you like to be added:

The default argument takes a "pod-query", can there be an option for a "deployment-query"? 😄

That way one could pass "app$" and have it match the app-756d764c46-njkvx pod without the longer "app-[0-9a-z]{10}-[0-9a-z]{5}" regex.

Agreed, the easiest way to do this is to use a label selector. Just so I can use this tool easier, I have add something extra. Someone will ask: "Why are you adding these labels?" The answer being "Because I want to use stern in an easier way".

Why is this needed:

cc/ @vsimon

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions