A tool for developers to create cloud-native applications on Kubernetes.
Перейти к файлу
Matt Tucker 4994e2e636 Merge pull request #43 from ultimateboy/pull-auth
feat(server): create docker pull secret in application namespace and append imagepullsecret to default service account.
2017-05-11 10:49:28 -06:00
_scripts feat(Makefile): add test-lint target 2017-03-17 13:33:07 -06:00
api feat(server): create docker pull secret in application namespace and append imagepullsecret to default service account. 2017-05-11 10:28:25 -06:00
chart add Docker Hub credentials 2017-05-08 16:12:05 -07:00
cmd Merge pull request #43 from ultimateboy/pull-auth 2017-05-11 10:49:28 -06:00
docs fixup getting started guide 2017-05-09 18:19:19 -07:00
examples fixup getting started guide 2017-05-09 18:19:19 -07:00
hack rename to Azure 2017-05-08 10:25:32 -07:00
pkg rename to Azure 2017-05-08 10:25:32 -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 fix(examples): ignore draft generated dockerfile, chart, and toml file from git. 2017-05-08 13:59:30 -06:00
CHANGELOG.md add v0.3.0 CHANGELOG 2017-05-10 08:34:48 -07:00
Dockerfile rename prow to draft 2017-04-21 10:45:05 -07:00
GOVERNANCE.md add Draft governance model 2017-04-24 12:50:32 -06:00
LICENSE docs(LICENSE): update license details 2017-05-08 12:15:43 -06:00
MAINTAINERS.md add Draft governance model 2017-04-24 12:50:32 -06:00
Makefile Merge pull request #43 from ultimateboy/pull-auth 2017-05-11 10:49:28 -06:00
NOTICE feat(server): create docker pull secret in application namespace and append imagepullsecret to default service account. 2017-05-11 10:28:25 -06:00
README.md docs(README.md): clarify that Helm v2.3.1 is a prerequisite 2017-05-09 16:31:47 -06:00
draft.toml convert tabs to spaces in yaml 2017-05-02 08:57:53 -07:00
glide.lock feat(server): create docker pull secret in application namespace and append imagepullsecret to default service account. 2017-05-11 10:28:25 -06:00
glide.yaml feat(server): create docker pull secret in application namespace and append imagepullsecret to default service account. 2017-05-11 10:28:25 -06:00
versioning.mk rename to Azure 2017-05-08 10:25:32 -07:00

README.md

Draft Logo

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 Helm

Draft expects Helm to be installed on your Kubernetes cluster. Download helm v2.3.1 and do a helm init first, as described in Installing Helm.

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!

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

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

This software contains code from Heroku Buildpacks, which are also covered by the MIT license.

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

You can read third-party software licenses here.