DevOps

Docker Compose to Kubernetes Converter

Paste a docker-compose.yml file and get equivalent Kubernetes Deployment and Service YAML manifests, generated entirely in your browser.

Did this tool save you some time? A quick testimonial helps a lot.

Share your experience

About this Docker Compose to Kubernetes Converter

Paste a docker-compose.yml file and get equivalent Kubernetes Deployment and Service YAML manifests, generated entirely in your browser. Common questions — like should i validate the generated manifests before applying — are answered in the FAQ below.

Usage and privacy

How to use it

Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.

Private by design

Docker Compose to Kubernetes Converter runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.

Docker Compose to Kubernetes Converter examples

A few worked examples so you know what to expect before you paste in your own input.

Single-service compose file

Input

services:
  web:
    image: nginx:latest
    ports:
      - "80:80"

Output

A Deployment (image: nginx:latest, 1 replica) plus a matching Service exposing port 80.
With environment variables

Input

services:
  api:
    image: myapi:1.0
    environment:
      - NODE_ENV=production
    ports:
      - "3000:3000"

Output

A Deployment (image: myapi:1.0) with a NODE_ENV env var, plus a Service exposing port 3000.
Multiple services

Input

services:
  web:
    image: nginx
  api:
    image: myapi:1.0

Output

Two separate Deployment + Service pairs — one for "web", one for "api".

Frequently Asked Questions

Related Tools