Deploying your Python API to Kubernetes





Micro services have taken the world by a storm and tools like Docker and Kubernetes are becoming popular day by day , companies are deploying their applications in Kubernetes which provides scalability , rolling updates , high availability and so much more . In this workshop we will look at how to build a basic API with all CRUD operations using Flask and SQLalchemy and then deploy that APi to a Kubernetes cluster . We will also look at creating Docker Images of the API and the advantages that Kubernetes gives you for your deployment.

  • Agenda - 1 min
  • Introduction about DevOps - 2 mins
  • What is Docker and Kubernetes and why are they popular - 2 mins
  • What is Flask and SQLAlchemy - 1 to 2 mins
  • Building a Basic API using Flask - 20 to 30 mins
  • Using Data Base and upgrading the API - 30 to 40 mins
  • Working of docker and building the image - 10 mins
  • Creating yml files for deploying in Kubernetes - 30 mins
  • Deploying the API to a Kubernetes cluster - 10 mins
  • Testing the application - 3 mins
  • QnA


Basic Knowledge of Building API using Flask and Kubernetes and Docker

Video URL:

Content URLs:


Speaker Info:

Dipto Chakrabarty is a Devops Enthusiast and Python Developer . He is currently in his third year in Vellore Institute of Technology . He is a Devops Intern at Machaao INC and Cloud Administrator for Kaloory INC . He is also the projects lead at CodeChef Vit an organisation in VIT Vellore . He has worked in several projects related to micro services , back end , cloud computing , automation etc .

Speaker Links:

  • Github :
  • Linkedln:
  • Medium:

Section: Developer tools and automation
Type: Workshop
Target Audience: Intermediate
Last Updated: