kom
kom 是一个用于 Kubernetes 操作的工具,SDK级的kubectl、client-go的使用封装。并且支持作为管理k8s 的 MCP server。 它提供了一系列功能来管理 Kubernetes 资源,包括创建、更新、删除和获取资源,甚至使用SQL查询k8s资源。这个项目支持多种 Kubernetes 资源类型的操作,并能够处理自定义资源定义(CRD)。 通过使用 kom,你可以轻松地进行资源的增删改查和日志获取以及操作POD内文件等动作。
GitHub Stars
126
User Rating
Not Rated
Favorites
0
Views
19
Forks
27
Issues
3
Installation
Difficulty
IntermediateEstimated Time
10-20 minutes
Installation
Installation
Prerequisites
Go: 1.16 or higher
Kubernetes: 1.18 or higher
Installation Steps
1. Clone Repository
bash
git clone https://github.com/weibaohui/kom.git
cd kom
2. Install Dependencies
bash
go mod tidy
3. Start Server
bash
go run main.go