Compose on Kubernetes tools add support of Docker Compose files in Kubernetes.
This project brings compose.docker.com/v1beta1
and compose.docker.com/v1beta2
APIs to your cluster.
See the architecture document for more information.
First ensure that you have a running Kubernetes cluster set up.
Perform a local build of the binaries.
$ make binaries
Setup the cluster for local development.
$ make setup-api-server-dev
Run the API server.
$ make run-api-server-dev
Run the compose-controller
.
$ ./bin/compose-controller
You should now be able to deploy stacks to your cluster using docker stack deploy
.