kompose
Installation
brew install kompose
            
kompose convert
# convert docker-compose.yml
kompose convert
 
# convert a specific docker-compose file
# kompose -f [compose_file_name] convert
kompose -f compose.yaml convert
 
# convert multiple docker-compose file
kompose -f docker-compose.yml -f docker-guestbook.yml convert
            
Reference
  • Translate a Docker Compose File to Kubernetes Resources
  • Kompose