This device is not compatible.


Deploy a Flask Application to a Google Kubernetes Engine

In this project, we’ll use a Helm chart to deploy an application over a Google Kubernetes Engine (GKE). During this project, we’ll set up our GCloud project, create a Kubernetes cluster, create and configure our Helm chart, and, finally deploy that chart over Kubernetes.

Deploy a Flask Application to a Google Kubernetes Engine

You will learn to:

Build and push a containerized web application to Docker Hub.

Install and configure Google Cloud CLI.

Install and configure Helm charts.

Deploy and access the application using Helm.


Kubernetes API Objects

Container Management Using Docker

Distributed Applications


Docker and Docker images basics

A good understanding of Kubernetes and its services

A good understanding of Helm and Helm chart




Project Description

Kubernetes is an open-source platform that lets us deploy and manage containerized applications. Kubernetes manages services from the deployment stage to the final stage of exposure. Through plugins, Kubernetes also provides other services like auto-scaling, availability, and fault tolerance.

Helm is a package manager for Kubernetes. It bundles a couple of Kubernetes resource files into a single package, known as a Helm chart, which can be easily deployed. A single command is enough to deploy a distributed application packaged through the Helm. Helm packages applications with a default configuration that can be modified later.

In this project, we’ll start by using Docker to containerize our Flask application and push the image to Docker Hub. After this, we’ll create a Google Cloud project. Later on, we’ll also set up Google Cloud CLI and Helm. We’ll then proceed to create a Kubernetes cluster and our own Helm chart. After we configure this chart, we’ll finally deploy it and access our application.

Project Tasks


Environment Set-up

Task 0: Explore the Application

Task 1: Set up Google Cloud CLI

Task 2: Log in to gcloud CLI

Task 3: Configure the Project

Task 4: Create and Configure the Cluster

Task 5: Set up Helm

Task 6: Containerize and Push the Application


Configure the Helm Chart

Task 7: Set up the Helm Chart

Task 8: Configure the Values for Deployment

Task 9: Create a Deployment

Task 10: Configure the Values for the Service

Task 11: Create a Service


Deploy and Access the Flask Application

Task 12: Deploy the Chart

Task 13: Access the Application

Task 14: Clean Up