Skip to main content
A Docker Compose file with services, ports, and volumes being converted into Kubernetes resources and a Helm chart output for review

Use the converter

Access the Docker Compose to Kubernetes converter tool.
The Docker Compose to Kubernetes converter helps you migrate Docker Compose applications to Kubernetes by automatically generating Kubernetes manifests and Helm charts from your docker-compose.yaml files.

What it does

The converter transforms Docker Compose services into Kubernetes resources:
  • Services → Kubernetes Deployments and Services
  • Volumes → PersistentVolumeClaims or other volume types
  • Networks → Kubernetes Services with ClusterIP
  • Ports → Service ports and optional Ingress resources
  • Environment variables → ConfigMaps and Secrets
  • Health checks → Liveness and readiness probes
The converter also generates a complete Helm chart with all resources bundled together. Use that chart as a Kubernetes starting point for a Package.

When to use

Use the converter when:
  • Migrating from Docker Compose: You have a working Docker Compose setup and want to deploy to Kubernetes.
  • Quick prototyping: You want to quickly test a Docker Compose app on Kubernetes.
  • Learning Kubernetes: You want to see how Docker Compose concepts map to Kubernetes resources.
  • CI/CD integration: You need to convert Compose files as part of an automated pipeline.
The converter provides a good starting point, but you may need to adjust the generated manifests for production use. Review the generated resources and customize them based on your specific requirements.

How to use

Access the converter

The converter is available at https://akua.dev/kompose. You can paste your Docker Compose YAML directly into the interface.

Conversion options

The converter supports several options to customize the output:
  • Provider: Choose Kubernetes or OpenShift.
  • Controller type: Deployment, DaemonSet, or ReplicationController.
  • Replicas: Number of pod replicas to create.
  • Volume type: PersistentVolumeClaim, emptyDir, hostPath, or ConfigMap.
  • Namespace: Target Kubernetes namespace.
  • Network policies: Generate NetworkPolicy resources for service isolation.
  • Helm chart: Generate a complete Helm chart (enabled by default).

Output formats

The converter generates:
  1. Kubernetes manifests: Individual YAML files for each resource (Deployments, Services, ConfigMaps, and others).
  2. Helm chart: A complete Helm chart with:
    • Chart.yaml: Chart metadata
    • values.yaml: Configurable values
    • templates/: All Kubernetes manifests as Helm templates
You can download the output as a ZIP file containing all generated files, or copy individual files from the interface.

Example

Convert a simple web application with Redis: Input (docker-compose.yaml):
docker-compose.yaml
Output (Kubernetes manifests):
The converter generates Kubernetes manifests for each service, including Deployments and Services. When you enable Helm chart generation, it also creates a complete Helm chart with all resources bundled together.

Limitations

The converter handles most common Docker Compose features, but some features are not supported or require manual adjustment:

Package format

Turn generated manifests into a reusable Package.

Create a product

Deploy your converted application as a product.

Installations

How Packages materialize on clusters.

Concepts

How Packages, products, and installations fit together.