yarox / connect_k8s

Command-line tool written in Rust to easily connect to a Kubernetes container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect_k8s

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.

Dependencies

  • Rust
  • kubectl

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/your-username/connect_k8s.git
  1. Compile the source code using Rust:
cargo build --release
  1. Add the compiled binary to your system's PATH:
export PATH=$PATH:/path/to/connect_k8s/target/release

Usage

  1. Run the connect_k8s command:
connect_k8s
  1. Follow the prompts to select the cluster, namespace, review app, and container you want to connect to.

  2. Once you've selected all the options, the tool will automatically connect you to the chosen container.

License

This project is licensed under the MIT License.

About

Command-line tool written in Rust to easily connect to a Kubernetes container


Languages

Language:Rust 100.0%