Description
Kompose is a command-line tool that converts a Docker Compose file into resources for Kubernetes or OpenShift. You point it at a compose file and it generates the deployment and service definitions, which you can then apply to a cluster with kubectl. The goal is to let developers keep one compose file for local development and reuse it when moving to production on a container orchestrator. The site notes that conversions are not always one to one, but the tool aims to get you most of the way there, and labels can supply the extra details needed for a complete conversion. It supports several versions of the Docker Compose format, and a conversion matrix lists which values and versions are handled. A user guide covers advanced features such as load balancers, services and TLS. Kompose is an official Kubernetes incubator project that has graduated, and it is licensed under the Apache License 2.0. The source code is published on GitHub. It is intended for people who are comfortable with containers and Kubernetes, rather than as a full deployment platform on its own.…
Highlights
- Converts Docker Compose files to Kubernetes or OpenShift
- Generates files you apply with kubectl
- Conversion matrix for supported values
- Labels to fill in details the conversion cannot infer
- Apache 2.0 licensed, official Kubernetes project
Ratings & Reviews
No ratings yet
Be the first to rate Kompose.
People also visit
Kompose FAQ
What is Kompose?
It is a conversion tool that turns a Docker Compose file into the configuration needed to run the same app on Kubernetes or OpenShift.
Is it free?
Yes. Kompose is open source and licensed under the Apache License 2.0.
How do I use it?
Run kompose convert against your compose file to generate the Kubernetes files, then apply them with kubectl apply.
Is the conversion exact?
Not always. The site says conversions are not always one to one, but it gets most of the way there, and labels can add the remaining details.
Which versions are supported?
The site says Kompose works with several versions of Docker Compose, and a conversion matrix lists the compatible values and versions.
Who maintains it?
It is an official Kubernetes project, located on GitHub under the Kubernetes organisation, and it has graduated from the incubator.
What are the best Kompose alternatives?
Popular alternatives to Kompose include Compose Farm, Komodo and Sencho. See all Kompose alternatives





.png?auto=compress&fit=max&w=128)