yokawasa / kubectl-plugin-ssh-jump

A kubectl plugin to access nodes or remote services using a SSH jump Pod
Apache License 2.0
172 stars 18 forks source link

Possibility to pass commands by arg parameter #2

Closed zbioe closed 4 years ago

zbioe commented 4 years ago

First of all, many thank's for your work, this saves me a lot of time.

it's a great work and helps a lot with a necessity to run some commands inside the nodes.

Internally I need to run the command directly and looking at your project I don't find any way to do this. So I need to implement it.

When I finish the feature to receive by --args or -a, I go to update the doc and see an example showing who do this, like:

echo "command" | <script> <node> 

My bad to not read all doc, :s, but, is already implemented, so, if you like, you can accept, request changes for accepting or ignore it.

I think is good to share it with you.

Anyway, many thank's for share this project.

Best Regards