Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: regex filter pod name #154

Merged
merged 2 commits into from
Jan 22, 2024
Merged

feat: regex filter pod name #154

merged 2 commits into from
Jan 22, 2024

Conversation

Forget-C
Copy link
Contributor

Regular expression to filter podname

Usage:
--regex "volcano-controllers.*"

kail|master⚡ ⇒ go run cmd/kail/main.go --regex "volcano-controllers.*"
volcano-system/volcano-controllers-56588b7df6-stzxn[volcano-controllers]: 2024/01/19 06:05:52 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
volcano-system/volcano-controllers-56588b7df6-stzxn[volcano-controllers]: I0119 06:05:52.249537       1 flags.go:57] FLAG: --add-dir-header="false"
volcano-system/volcano-controllers-56588b7df6-stzxn[volcano-controllers]: I0119 06:05:52.249702       1 flags.go:57] FLAG: --alsologtostderr="false"
volcano-system/volcano-controllers-56588b7df6-stzxn[volcano-controllers]: I0119 06:05:52.249793       1 flags.go:57] FLAG: --ca-cert-file=""
volcano-system/volcano-controllers-56588b7df6-stzxn[volcano-controllers]: I0119 06:05:52.249836       1 flags.go:57] FLAG: --enable-healthz="true"

Issue:
#135 Support regular expression or auto completion?
I think this requirement is reasonable, and some scenes cannot be effectively filtered through leables, namesapce, etc.

@chandanpasunoori chandanpasunoori merged commit 454a8d2 into boz:master Jan 22, 2024
1 check passed
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