Skip to content

Conversation

tksm
Copy link
Contributor

@tksm tksm commented Feb 3, 2023

This PR adds an all option to the --container-state flag.

This flag is helpful when we debug CrashLoopBackoff containers along with #221. Currently, it's a bit painful to select containers of all states.

# Before
$ stern --container-state running,terminated,running <QUERY>

# After
$ stern --container-state all <QUERY>

I think we can consider all as default in the future, as pointed out in #36 (comment), but it would be a breaking change, so I left it as is in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants