PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Saturday 9 a.m.–10:30 a.m.

Docker, Kubernetes, and OpenShift: Python containers for the real world

Graham Dumpleton

Description

Come learn how OpenShift is evolving, making use of Docker and Kubernetes to provide a platform for deployment of not only stateless 12 factor web applications, but also stateful applications, including databases.

Abstract

In this workshop you will be led through the deployment to OpenShift of a Python web application based on the Django web framework. We'll hook this up to a database and discuss workflows for developing and deploying your web application, including issues such as how to handle database migration on deployments. As we work through getting our sample application working, we will dive down into and discuss topics such as: * How Docker and Kubernetes is used. * The deployment of Docker images. * Building application images using Source to Image. * Handling application configuration and secrets. * Logging and monitoring of applications. We will provide access to an OpenShift instance so you can follow along and try your own experiments as we go. # Prerequisite Knowledge A working knowledge of Python and basic web development is recommended. # Prerequisite Setup You will need Python, git, a browser, and an editor of your choice if you wish to follow along.