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

Weird behavior with pipe operations in the command #3

Open
sig-abyreddy opened this issue Mar 30, 2020 · 1 comment
Open

Weird behavior with pipe operations in the command #3

sig-abyreddy opened this issue Mar 30, 2020 · 1 comment

Comments

@sig-abyreddy
Copy link

sig-abyreddy commented Mar 30, 2020

If the command has pipe | operator, EB is returning a different output instead of expected.

Try,

eb "kubectl get pods | grep sometext" -r 5 -s "timeout,timed out"

@sig-piskule
Copy link
Collaborator

Yes, I am aware... It is much harder to implement pipes in the code, I'll need to get around to it.

In the meantime, there might be a workaround like

eb "bash -c 'kubectl get pods | grep sometext'" -r 5 -s "timeout,timed out"

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

No branches or pull requests

2 participants