Error: No such file or directory
I have no idea what is going on. I'm just trying something like:
kubie exec test-cluster echo "hello"
and I get
CONTEXT => test-cluster
Error: No such file or directory (os error 2)
I don't see any options to increase verbosity in logging either to try to debug this.
Kubie version: 0.21.2 OS: MacOS Ventura 13.5
The usage of kubie exec is as follows:
Execute a command inside of the given context and namespace
USAGE:
kubie exec [OPTIONS] <CONTEXT_NAME> <NAMESPACE_NAME> [ARGS]...
It looks like you missed the namespace argument in your example, so your command is trying to run the command hello in the echo namespace of the test-cluster cluster.
If you wanted to run with the default namespace as an example, your command would look like:
kubie exec test-cluster default echo "hello"
What a terrible error message for missing an argument and/or for trying to use the wrong namespace 😂. Maybe this issue can track improving the error message in such a case of fat fingering this? I'd contribute, but I don't know that much Rust. I tried tracing this error even in the source code and couldn't quite figure out where this was coming from.