首页 时政热点 科技头条 智能AI 安全攻防 数码硬件 开发者生态 汽车 游戏 社会热点 开源推荐 医疗健康 归档 标签 关于

GitHub热门项目: kubectl-ai

摘要

GitHub项目:kubectl-ai 仓库地址:https://github。

kubectl https com GoogleCloudPlatform github
2026-07-05 1 阅读 约9分钟阅读 GitHub Trending
分享:
字号:
GitHub项目:kubectl-ai 仓库地址:https://github.com/GoogleCloudPlatform/kubectl-ai Stars:7507 | 作者:GoogleCloudPlatform 项目描述:AI powered Kubernetes Assistant ================================================== README 内容: # kubectl-ai [![Go Report Card](https://goreportcard.com/badge/github.com/GoogleCloudPlatform/kubectl-ai)](https://goreportcard.com/report/github.com/GoogleCloudPlatform/kubectl-ai) ![GitHub License](https://img.shields.io/github/license/GoogleCloudPlatform/kubectl-ai) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/GoogleCloudPlatform/kubectl-ai) [![GitHub stars](https://img.shields.io/github/stars/GoogleCloudPlatform/kubectl-ai.svg)](https://github.com/GoogleCloudPlatform/kubectl-ai/stargazers) `kubectl-ai` acts as an intelligent interface, translating user intent into precise Kubernetes operations, making Kubernetes management more accessible and efficient. ![kubectl-ai demo GIF using: kubectl-ai "how's nginx app doing in my cluster"](./.github/kubectl-ai.gif) ## Table of Contents - [Quick Start](#quick-start) - [Installation](#installation) - [Usage](#usage) - [Configuration](#configuration) - [Tools](#tools) - [Docker Quick Start](#docker-quick-start) - [MCP Client Mode](#mcp-client-mode) - [Extras](#extras) - [MCP Server Mode](#mcp-server-mode) - [Start Contributing](#start-contributing) - [Learning Resources](#learning-resources) ## Quick Start First, ensure that kubectl is installed and configured. ### Installation #### Quick Install (Linux & MacOS only) ```shell curl -sSL https://raw.githubusercontent.com/GoogleCloudPlatform/kubectl-ai/main/install.sh | bash ```
Other Installation Methods #### Manual Installation (Linux, MacOS and Windows) 1. Download the latest release from the [releases page](https://github.com/GoogleCloudPlatform/kubectl-ai/releases/latest) for your target machine. 2. Untar the release, make the binary executable and move it to a directory in your $PATH (as shown below). ```shell tar -zxvf kubectl-ai_Darwin_arm64.tar.gz chmod a+x kubectl-ai sudo mv kubectl-ai /usr/local/bin/ ``` #### Install with Krew (Linux/macOS/Windows) First of all, you need to have krew installed, refer to [krew document](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) for more details Then you can install with krew ```shell kubectl krew install ai ``` Now you can invoke `kubectl-ai` as a kubectl plugin like this: `kubectl ai`. #### Install on NixOS There are multiple ways to install `kubectl-ai` on NixOS. For a permanent installation add the following to your NixOS-Configuration: ```nix environment.systemPackages = with pkgs; [ kubectl-ai ]; ``` For a temporary installation, you can use the following command: ```shell nix-shell -p kubectl-ai ```
### Usage `kubectl-ai` supports AI models from `gemini`, `vertexai`, `azopenai`, `openai`, `grok`, `bedrock` and local LLM providers such as `ollama` and `llama.cpp`. #### Using Gemini
这篇文章对您有帮助吗?

订阅66必读

每日精选科技资讯,直达你的邮箱