Kom
Kom is a Kubernetes operation management tool that provides functions such as multi-cluster management, resource creation, deletion, update, and query, Pod operations, and SQL queries. It supports CRD and built-in resource operations, simplifying the daily operation and maintenance of k8s.
rating : 3 points
downloads : 131
What is kom?
Kom is a Kubernetes operation management tool that encapsulates the core functions of kubectl and client-go, providing simpler and more user-friendly APIs to manage Kubernetes resources. It supports advanced functions such as multi-cluster management, custom resource operations, and SQL queries.How to use kom?
You can operate Kubernetes resources through simple Go API calls, which support chained calls and callback mechanisms. It can be integrated into existing Go projects or provide HTTP interfaces through the MCP server.Applicable scenarios
It is suitable for scenarios that require batch operations on Kubernetes resources, such as CI/CD pipelines, operation and maintenance automation tools, and Kubernetes management platforms. It is particularly suitable for scenarios that require multi-cluster management and custom resource operations.Main Features
Multi-cluster ManagementSupports managing multiple Kubernetes clusters simultaneously and allows easy switching between different clusters for operations.
CRD SupportFully supports operations on Custom Resource Definitions (CRD), including creation, query, update, and deletion.
SQL QuerySupports querying Kubernetes resources using SQL syntax, simplifying complex query operations.
MCP ServerProvides a Model Context Protocol server, supporting both stdio and SSE modes, and can be integrated with AI tools.
Pod OperationsSupports common operations such as executing commands inside Pods, uploading and downloading files, and viewing logs.
Callback MechanismProvides a flexible callback mechanism, allowing custom logic to be executed before and after operations.
Advantages and Limitations
Advantages
Simplifies Kubernetes operations and provides a more friendly API interface
Supports multi-cluster management, facilitating cross-cluster operations
Built-in rich tool methods, such as Deployment scaling and Pod file operations
Supports SQL queries, reducing the learning cost
A complete callback mechanism, facilitating function expansion
Limitations
Requires a foundation in Go language to fully utilize the SDK functions
Some advanced functions require specific versions of the Kubernetes cluster
The SQL query function currently only supports simple conditional queries
How to Use
Install kom
Install the kom package through the go get command
Register a Kubernetes cluster
Register the Kubernetes cluster to be managed in the code
Execute operations
Use the APIs provided by kom to execute Kubernetes operations
Usage Examples
Get a list of PodsQuery all Pods in the default namespace
Scale a DeploymentAdjust the number of replicas of the Deployment named nginx to 3
Execute commands inside a PodExecute commands inside the container of a specified Pod
Frequently Asked Questions
What is the difference between kom and kubectl?
How to support multi-cluster?
Which resources does SQL query support?
How to integrate the MCP server into AI tools?
Related Resources
GitHub Repository
Source code of the kom project
k8m Tool
A lightweight Kubernetes management tool based on kom
Kubernetes Documentation
Official Kubernetes documentation
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points