This is a command-line tool written in Rust that allows you to easily connect to a Kubernetes cluster, namespace, and container of your choice.
- Rust
- kubectl
- Clone the repository to your local machine:
git clone https://github.com/your-username/connect_k8s.git
- Compile the source code using Rust:
cargo build --release
- Add the compiled binary to your system's PATH:
export PATH=$PATH:/path/to/connect_k8s/target/release
- Run the connect_k8s command:
connect_k8s
-
Follow the prompts to select the cluster, namespace, review app, and container you want to connect to.
-
Once you've selected all the options, the tool will automatically connect you to the chosen container.
This project is licensed under the MIT License.