<p>This <a href="https://8gwifi.org/kube1.jsp" rel="nofollow noreferrer">online tool</a> will translate your compose file equivalent Kubernetes resources </p>

<p><a href="https://i.sstatic.net/sOMxg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/sOMxg.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2020-03-13T12:31:57.217Z
2020-03-13T12:31:57.217Z
anish
<p>The original and most popular solution I've seen is <a href="https://github.com/kubernetes/kompose" rel="nofollow noreferrer">kompose</a> which does exactly as you are asking, converts the compose yaml file into kubernetes yaml files.</p>

<p>If you want to continue working with a compose.yml file for compatibility with other systems, then docker recently open sourced their <a href="https://github.com/docker/compose-on-kubernetes" rel="nofollow noreferrer">compose on kubernetes</a> solution that integrates directly into kubernetes.</p>

CC BY-SA 4.0
2018-12-31T14:34:39.280Z
2018-12-31T14:34:39.280Z
BMitch
<p>Is there any easy way to convert a docker-compose.yml file to Kubernetes file(s)?</p>

<docker><kubernetes><docker-compose>
How to convert a docker-compose file to kubernetes file(s)?
saif
# How to convert a docker-compose file to kubernetes file(s)?

(Asked by: username_0 on 2018-12-31)

Is there any easy way to convert a docker-compose.yml file to Kubernetes file(s)?

**Tags:** docker, kubernetes, docker-compose


---

## 2 answers

### Answer by username_2 on 2018-12-31. Score: 4 | Accepted answer

The original and most popular solution I've seen is [kompose](https://github.com/kubernetes/kompose) which does exactly as you are asking, converts the compose yaml file into kubernetes yaml files.

If you want to continue working with a compose.yml file for compatibility with other systems, then docker recently open sourced their [compose on kubernetes](https://github.com/docker/compose-on-kubernetes) solution that integrates directly into kubernetes.


---

### Answer by username_1 on 2020-03-13. Score: 0

This [online tool](https://8gwifi.org/kube1.jsp) will translate your compose file equivalent Kubernetes resources

[![enter image description here](https://i.sstatic.net/sOMxg.png)](https://i.sstatic.net/sOMxg.png)


---

