Difficulty: Beginner
Estimated Time: 10 minutes

Draft: Streamlined Kubernetes Development

Draft makes it easier for developers to build applications that run on Kubernetes by doing two main things:

  • The draft create command gives developers the artifacts they need to build and run their applications in Kubernetes
  • The draft up command builds the container image for an application and deploys it to Kubernetes

Draft targets the "inner loop" of a developer's workflow: as they hack on code, but before code is committed to version control.

In this tutorial you will learn how to get started with Draft.

Getting started with Azure Draft

Step 1 of 3

Install Helm and Draft

Start Kubernetes

First, you will need to start your Kubernetes cluster:


Install Helm

Draft uses Helm under the covers in order to generate deployable packages. Let's install Helm:

curl -O https://storage.googleapis.com/kubernetes-helm/helm-v2.13.0-linux-amd64.tar.gz ; tar xvzf helm-v2.13.0-linux-amd64.tar.gz ; mv linux-amd64/helm /usr/local/bin

And initialize it:

helm init

Install Draft

Now that Helm is installed and configured, you can install Draft:

curl -O https://azuredraft.blob.core.windows.net/draft/draft-v0.16.0-linux-amd64.tar.gz ; tar xvzf draft-v0.16.0-linux-amd64.tar.gz ; mv linux-amd64/draft /usr/local/bin

And initialize it:

draft init