Paste a docker-compose.yml file and click Generate to create Kubernetes resources
This tool automatically converts Docker Compose files into Kubernetes resource manifests. Instead of manually translating each service, volume, and network configuration, the converter parses your docker-compose.yml file and generates equivalent Kubernetes Pods, Deployments, ReplicaSets, or StatefulSets.
| Docker Compose | Kubernetes Equivalent | Description |
|---|---|---|
services |
Deployment/Pod |
Container definitions |
image |
spec.containers[].image |
Container image |
ports |
spec.containers[].ports |
Port mappings |
volumes |
PersistentVolumeClaim |
Persistent storage |
environment |
ConfigMap/Secret |
Environment variables |
networks |
Service |
Network connectivity |
depends_on |
initContainers |
Service dependencies |
restart |
restartPolicy |
Restart behavior |
docker-compose.yml
version: '3'
services:
nginx:
image: nginx:latest
ports:
- "80:80"
environment:
NGINX_HOST: localhost
Generated Kubernetes Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
replicas: 1
template:
spec:
containers:
- image: nginx:latest
ports:
- containerPort: 80
env:
- name: NGINX_HOST
value: localhost
Generate compose files from form inputs
Convert docker run commands to compose
Convert compose files to docker run commands
Generate Kubernetes Pods and Services
Convert Kubernetes manifests to Docker Compose
Parse and validate YAML files
Anyone with this link can view and download the Kubernetes resources.
Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.