- Step1: Install Kube-Copilot via Homebrew (brew install feiskyer/tap/kube-copilot) or download the binary.
- Step2: Export your OpenAI API key: export OPENAI_API_KEY=your_api_key.
- Step3: Run a natural language query: kubectl copilot "describe pod issues".
- Step4: Review the suggested kubectl command generated by the plugin.
- Step5: Execute the command or modify parameters as needed.
- Step6: Adjust prompt and logging settings in ~/.kube-copilot/config.yaml for customization.