Skip to content

Instantly share code, notes, and snippets.

@bacongobbler
Last active July 31, 2017 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bacongobbler/b55726d9c59c7b8b9285f1b8b965b8e6 to your computer and use it in GitHub Desktop.
Save bacongobbler/b55726d9c59c7b8b9285f1b8b965b8e6 to your computer and use it in GitHub Desktop.
><> pwd
/Users/bacongobbler/go/src/github.com/deis/example-python-flask
><> draft create
--> Python app detected
--> Ready to sail
><> git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
.draftignore
Dockerfile
chart/
draft.toml
nothing added to commit but untracked files present (use "git add" to track)
><> vim Dockerfile # added "ENV PORT 8080" so the app listens on port 8080
><> draft up
--> Building Dockerfile
Step 1/5 : FROM python:onbuild
...
--> Deploying to Kubernetes
Release "bunking-greyhound" does not exist. Installing it now.
--> Status: DEPLOYED
--> Notes:
http://bunking-greyhound.k8s.local to access your application
><> helm list
NAME REVISION UPDATED STATUS CHART NAMESPACE
bunking-greyhound 1 Mon Jul 31 12:44:06 2017 DEPLOYED bunking-greyhound-0.1.0 default
draft 1 Fri Jul 21 14:01:28 2017 DEPLOYED draftd-v0.5.1 kube-system
><> curl bunking-greyhound.k8s.local
Powered by Deis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment