Kom - Kubernetes Operations Manager

Created By
weibaohuia year ago
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.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
weibaohui
Star
115
Language
Go
License
MIT license
Tags

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

2 hours ago