Managing Kubernetes clusters through standard CLI tools often requires remembering long command syntaxes, namespace flags, and resource names. To solve this, I created Kubernetes Auto-Prompt CLI—a terminal tool designed to make cluster navigation fast, interactive, and less error-prone.
💡 Why I Built It
Command line power users love kubectl, but repetitive command construction slows down daily tasks. Common pain points include:
Context & Namespace Fatigue: Constantly appending -n or using multiple context-switching plugins.
Typo Errors: Typing long deployment or pod names manually.
Context Switching: Switching back and forth between automation playbooks and cluster inspection commands.
✨ Key Features
Interactive Auto-Prompting: Real-time completion suggestions for resources, namespaces, and flags.
Context Awareness: Automatically stays in sync with your active Kubernetes context.
Seamless Automation: Bridges the gap between interactive CLI exploration and automated workflows.
🚀 Quickstart Guide
- Installation Bash git clone https://github.com/Ceteris90/Kubernetes_auto_prompt_cli.git cd Kubernetes_auto_prompt_cli # Run installation / setup script
- Usage Launch the interactive shell:
Bash
Example execution command
python main.py # or ./auto-prompt-cli
🛠️ How It Works Under the Hood
The CLI queries cluster metadata using the Kubernetes API / kubectl context, constructing a dynamic prompt tree. When you start typing, it provides contextual suggestions based on active pods, deployments, and cluster nodes.
🤝 How to Contribute
The project is open source on GitHub:
👉 github.com/Ceteris90/Kubernetes_auto_prompt_cli
Contributions, bug reports, and feature requests are welcome! Feel free to:
Star ⭐️ the repository to show support.
Open an Issue for feature requests or bugs.
Submit a Pull Request.
답글 남기기