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

2 Answers 2


The original and most popular solution I've seen is 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 solution that integrates directly into kubernetes.


This online tool will translate your compose file equivalent Kubernetes resources

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.