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

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]