Skip to content

Releases

KubePilot v0.3.0 — Native Read-Only MCP Server, vLLM & NVIDIA DCGM GPU Diagnostics, and Crash-Safe Persistence

Choose a tag to compare

@github-actions github-actions released this 29 Nov 13:50

KubePilot v0.3.0 — Read-Only MCP Server, vLLM & NVIDIA DCGM GPU Diagnostics, Streaming TTFT/TPOT & Crash-Safe Persistence

DOI

KubePilot v0.3.0 extends the zero-dependency Go (go 1.26, 0 external dependencies, strictly read-only RBAC) root-cause diagnosis engine for GenAI workloads on Kubernetes with Model Context Protocol (MCP) integration, production GPU & vLLM serving diagnostics, streaming TTFT vs. TPOT latency decomposition, crash-safe JSONL incident persistence, and Terraform Infrastructure-as-Code.


🚀 What's New in v0.3.0

1. Native Read-Only Model Context Protocol (MCP) Server (stdio & HTTP /mcp)

  • Built-in JSON-RPC 2.0 MCP server (2025-03-26 & 2024-11-05) over both --mcp-stdio (kubepilot-server and kubectl why-slow) and Streamable HTTP (GET/POST /mcp).
  • Exposes 6 deterministic read-only tools (kubepilot_diagnose, kubepilot_list_incidents, kubepilot_get_incident, kubepilot_audit_security, kubepilot_synthesize_gitops_pr, kubepilot_simulate_what_if), 2 resources, and 1 anti-hallucination grounded prompt (explain-incident), all annotated with readOnlyHint: true and destructiveHint: false (docs/mcp-server.md).

2. Production GPU & vLLM Serving Diagnostics (internal/gpudiag) + Streaming TTFT / TPOT

  • vllm_kv_cache_saturation: Correlates vllm:gpu_cache_usage_perc (>= 90%), vllm:num_requests_waiting, and vllm:num_preemptions_total with streaming TTFT spikes, synthesizing Kustomize GitOps patches (--enable-chunked-prefill).
  • gpu_throttling_or_xid: Inspects NVIDIA dcgm-exporter DCGM_FI_DEV_CLOCK_THROTTLE_REASONS (masking benign 0x01 GpuIdle & 0x02 AppClocks states to eliminate false positives), DCGM_FI_DEV_GPU_TEMP, and critical hardware DCGM_FI_DEV_XID_ERRORS (XID 31, 48, 79, ...).
  • OTel GenAI Streaming Decomposition (internal/genai): Extracts TimeToFirstTokenMs (TTFT) and TimePerOutputTokenMs (TPOT) from gen_ai.server.* attributes and first-chunk streaming span timestamps without deserializing generated text payloads.
  • Preserves the frozen p2-v1 internal/rules Git tree hash (201576af596e12588aa27aa2e3586dd576af5fd8) bit-for-bit (24/24 Top-1 held-out accuracy, 0/21 false positives).

3. Crash-Safe Persistence (--store-path), PSS-Restricted Helm PVC & Terraform IaC

  • Zero-CGO Atomic JSONL Store (internal/server/persistence.go): Persists bounded incident records via temp-file write + fsync + atomic os.Rename (0600) and resumes auto-numbered inc-NNNN sequences seamlessly across pod restarts.
  • Helm Chart 0.3.0 (charts/kubepilot): Optional PersistentVolumeClaim (persistence.enabled=true) with fsGroup: 65532 and seccompProfile: RuntimeDefault.
  • Terraform Module (deploy/terraform) & GitOps PR Synthesis (/api/v1/incidents/{id}/gitops-pr): Declaratively provisions PSS-Restricted namespaces, ResourceQuota/LimitRange, Zero-Trust NetworkPolicy, and the KubePilot Helm release (validated in GitHub Actions CI).

📦 Quick Install

# Container Image (GHCR):
docker pull ghcr.io/iyedm/kubepilot:0.3.0

# Helm Chart:
helm upgrade --install kubepilot ./charts/kubepilot --namespace kubepilot-system --create-namespace

# Terraform IaC:
terraform -chdir=deploy/terraform init && terraform -chdir=deploy/terraform apply

KubePilot v0.2.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 17:52

Deterministic, strictly read-only Kubernetes root-cause diagnosis for slow or failing GenAI workloads (24/24 = 100% held-out test recall, 0/21 false positives).