A tool for developers to create cloud-native applications on Kubernetes.
Перейти к файлу
Matthew Fisher 54393b61ce Merge pull request #217 from bacongobbler/autogenerate-name
autogenerate name, write to draft.yaml on `draft create`
2017-04-23 08:11:15 -07:00
_scripts feat(Makefile): add test-lint target 2017-03-17 13:33:07 -06:00
api rename prow to draft 2017-04-21 10:45:05 -07:00
chart rename prow to draft 2017-04-21 10:45:05 -07:00
cmd autogenerate name, write to draft.yaml on `draft create` 2017-04-22 10:07:44 -07:00
docs autogenerate name, write to draft.yaml on `draft create` 2017-04-22 10:07:44 -07:00
hack rename prow to draft 2017-04-21 10:45:05 -07:00
pkg autogenerate name, write to draft.yaml on `draft create` 2017-04-22 10:07:44 -07:00
tests chore(*): further naming updates 2017-04-21 16:22:48 -06:00
.dockerignore chore(.dockerignore): ignore files outside rootfs/ 2017-02-08 16:53:08 -07:00
.gitignore upload dist assets to s3 2017-03-13 13:10:19 -07:00
CHANGELOG.md add v0.2.0 CHANGELOG 2017-03-21 15:01:09 -07:00
Dockerfile rename prow to draft 2017-04-21 10:45:05 -07:00
LICENSE switch to MIT license 2017-04-21 14:52:24 -07:00
Makefile rename prow to draft 2017-04-21 10:45:05 -07:00
README.md docs(readme): update license information in readme 2017-04-21 19:24:13 -06:00
draft.yaml rename prow to draft 2017-04-21 10:45:05 -07:00
glide.lock autogenerate name, write to draft.yaml on `draft create` 2017-04-22 10:07:44 -07:00
glide.yaml autogenerate name, write to draft.yaml on `draft create` 2017-04-22 10:07:44 -07:00
versioning.mk rename prow to draft 2017-04-21 10:45:05 -07:00

README.md

Draft: Streamlined Kubernetes Development

Build Status

NOTE: Draft is experimental and does not have a stable release yet.

Draft handles the heavy lifting involved in taking source code and deploying it to Kubernetes:

  • Builds a container image from application source code
  • Pushes the image to a registry
  • Packages a Helm chart from application source code
  • Installs the chart to Kubernetes, deploying the application

Usage

Install Draft

Because Draft is currently experimental, there is no stable release out yet and users are expected to be using the latest build of Draft for testing. Canary releases of the Draft client can be found at the following links:

Unpack the Draft binary and add it to your PATH and you are good to go!

To install the server-side of Draft, use draft init with your credentials to let Draft communicate with a Docker registry:

$ draft init --set registry.url=docker.io,registry.org=changeme,registry.authtoken=changeme

The auth token field follows the format of Docker's X-Registry-Auth header. For credential-based logins such as Docker Hub and Quay, use

$ echo '{"username":"jdoe","password":"secret","email":"jdoe@acme.com"}' | base64

For token-based logins such as Google Container Registry and Amazon ECR, use

$ echo '{"registrytoken":"9cbaf023786cd7"}' | base64

If you're looking to build from source or get started hacking on Draft, please see the hacking guide for more information.

Use It!

Climb aboard and explore the Getting Started Guide - you'll soon be sailing!

License

This software is covered under the MIT license. You can read the license here.

This software contains code from Helm, which is covered by the Apache v2.0 license.