docker / compose-on-kubernetes

https://github.com/docker/compose-on-kubernetes

Go
Deploy applications described in Compose onto Kubernetes clusters



Compose on Kubernetes

CircleCI

Compose on Kubernetes allows you to deploy Docker Compose files onto a Kubernetes cluster.

Get started

Compose on Kubernetes comes installed on Docker Desktop and Docker Enterprise. To deploy a stack, you can use the Docker CLI:

$ cat docker-compose.yml
version: '3.3'

services:

  db:
    build: db
    image: dockersamples/k8s-wordsmith-db

  words:
    build: words
    image: dockersamples/k8s-wordsmith-api
    deploy:
      replicas: 5

  web:
    build: web
    image: dockersamples/k8s-wordsmith-web
    ports:
     - "33000:80"

$ docker stack deploy --orchestrator=kubernetes -c docker-compose.yml hellostack

Developing Compose on Kubernetes

See the contributing and debugging guides.

Ещё не оценен

Последние записи

Архив

2018
2017
2016
2015
2014

Категории

Авторы

Ленты

RSS / Atom