compose

package module
v0.4.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
compose
Package compose is the internal version of the API.
Package compose is the internal version of the API.
compose/impersonation
Package impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes +k8s:openapi-gen=true
Package impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes +k8s:openapi-gen=true
compose/v1beta1
Package v1beta1 is the first version of the Stack spec, containing only a compose file +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=compose.docker.com
Package v1beta1 is the first version of the Stack spec, containing only a compose file +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=compose.docker.com
compose/v1beta2
Package v1beta2 is the second version of the stack, containing a structured spec +k8s:openapi-gen=true
Package v1beta2 is the second version of the stack, containing a structured spec +k8s:openapi-gen=true
cmd
samples
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL