Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Kompose

$ kompose Foundation Low Risk
Kubernetes · Cloud & Infra · Apache-2.0 · macos / linux / windows

kompose translates Docker Compose (compose.yaml / docker-compose.yml) files into Kubernetes Deployments, Services, ConfigMaps, and PersistentVolumeClaims, or OpenShift objects. It supports -j (--json) output, -o target directories, and Helm chart scaffolding (-c).

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install kompose
CLI vs MCP Decision CLI Preferred vs MCP

kompose convert transforms local Compose files deterministically into Kubernetes YAML/JSON on disk without external calls.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports -j (--json), --stdout, -o, and deterministic non-interactive conversion flags.

  • Supports -j / --json and --stdout on kompose convert
Trust & Safety 23 / 25

Offline local file converter with zero cluster side effects; --stdout avoids even local disk writes.

  • Offline file-to-file transformation; zero cluster access
Setup & Portability 15 / 15

Single static Go binary available via Homebrew and GitHub Releases for macOS, Linux, and Windows.

  • Cross-platform binary via brew install kompose
Utility & Efficiency 10 / 15

Gives a fast starting point for migrating Compose apps to Kubernetes, though complex Compose features still require manual tuning.

  • Rapid Compose-to-Kubernetes manifest scaffolding
Maintenance & Lineage 8 / 10

Official Kubernetes ecosystem project (kubernetes/kompose) under Apache-2.0.

  • Official kubernetes/kompose repository
Docs & Verifiability 7 / 10

Clear kompose.io/user-guide/ conversion matrix showing supported Compose keys and labels.

  • Conversion matrix at kompose.io/user-guide/

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Requires no authentication or cluster access; reads local Compose YAML files and writes converted manifests to disk or stdout.

Side Effects
Read-Only Local Write
Cost & Quotas

CLI is free (Apache-2.0) and runs completely offline.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Kompose Agent Rules
- Use `--stdout` or `-o <output-dir>` so generated files do not clutter the repository root.
- Always review and validate generated manifests with `kubectl apply --dry-run=server` before deploying.
- Pass `--with-kompose-annotation=false` for clean production manifests.

Agent-Ready Command Recipes

Safe Read-Only Queries

Preview converted Kubernetes manifests as JSON to stdout
kompose convert -f compose.yaml -j --stdout

Converts the Compose file into Kubernetes JSON on stdout without writing files.

Controlled Writes & Previews

Convert Compose into a dedicated Kubernetes output directory
kompose convert -f compose.yaml -o ./k8s-out/ --with-kompose-annotation=false

Writes clean Kubernetes Deployment, Service, and PVC YAML files into ./k8s-out/.

Strengths for Agents

  • + Supports -j (--json) and --stdout for pure offline, zero-mutation manifest previews.
  • + Can scaffold Kubernetes manifests, OpenShift objects (--provider openshift), or Helm charts (-c).
  • + Cross-platform single Go binary with zero runtime dependencies.

Caveats & Pitfalls

  • ! Advanced Docker Compose features (profiles, depends_on health conditions, custom build args) often require post-conversion editing.
  • ! Running kompose convert without -o or --stdout writes multiple YAML files directly into the current working directory.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI