Submit

Kom - Kubernetes Operations Manager

@weibaohui

kom 是一个用于 Kubernetes 操作的工具,SDK级的kubectl、client-go的使用封装。并且支持作为管理k8s 的 MCP server。 它提供了一系列功能来管理 Kubernetes 资源,包括创建、更新、删除和获取资源,甚至使用SQL查询k8s资源。这个项目支持多种 Kubernetes 资源类型的操作,并能够处理自定义资源定义(CRD)。 通过使用 kom,你可以轻松地进行资源的增删改查和日志获取以及操作POD内文件等动作。
Overview

What is Kom?

Kom is a tool for managing Kubernetes operations, providing an SDK-level encapsulation of kubectl and client-go. It supports managing various Kubernetes resources, including creating, updating, deleting, and retrieving resources, and even querying Kubernetes resources using SQL.

How to use Kom?

To use Kom, you can import it into your Go project and register your Kubernetes clusters. You can then perform operations like resource management and SQL queries on Kubernetes resources.

Key features of Kom?

  1. Easy to use with a rich set of functionalities for resource management.
  2. Multi-cluster support for managing multiple Kubernetes clusters.
  3. Cross-namespace support for querying resources across namespaces.
  4. Chained calls for simpler and more intuitive resource operations.
  5. Support for Custom Resource Definitions (CRD).
  6. Callback mechanism for extending business logic without tight coupling to Kubernetes operations.
  7. File operations within PODs, including upload, download, and delete.
  8. High-frequency operation encapsulation for various deployment actions.
  9. SQL querying capabilities for Kubernetes resources.
  10. Caching support for improved query performance.

Use cases of Kom?

  1. Managing multiple Kubernetes clusters efficiently.
  2. Performing CRUD operations on Kubernetes resources.
  3. Executing SQL queries to retrieve specific resource information.
  4. Handling file operations within Kubernetes PODs.
  5. Monitoring and managing resource usage across clusters.

FAQ from Kom?

  • Can Kom manage all Kubernetes resources?

Yes! Kom supports a wide range of Kubernetes resources, including built-in resources and CRDs.

  • Is Kom free to use?

Yes! Kom is open-source and free to use.

  • How accurate are the SQL queries in Kom?

Kom is designed to provide accurate results based on the current state of the Kubernetes resources.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.