Kompose artifact use

  docker-compose, kubernetes

kompose

Kompose is a tool that can run docker-compose.yml in kubernetes, and can also convert docker-compose.yml into corresponding files in kubernetes, which is very convenient.

Installation

# macOS
curl -L https://github.com/kubernetes-incubator/kompose/releases/download/v0.5.0/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose

Conversion

Execute under the docker-compose.yml folder directory to be converted

kompose convert

be crowned with success

If you don’t want to convert, you can also run it directly.

kompose up

doc