Skip to content

This project designed to demonstrate the deployment of containerized applications on Kubernetes using Helm.

Notifications You must be signed in to change notification settings

kishorechk/flask-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Demo App

A simple Flask application designed to demonstrate the deployment of containerized applications on Kubernetes using Helm.

For a detailed walkthrough on how this project was developed, refer to my blog post on Medium.

Table of Contents

Overview

flask-demo-app is a basic web application built with Flask. It serves as a practical example for those looking to understand how to containerize applications with Docker and subsequently deploy them on a Kubernetes cluster using Helm.

Prerequisites

  • Python 3.8+
  • Docker
  • Kubernetes (optional for local testing)
  • Helm (for Kubernetes deployment)

Getting Started

  1. Clone the Repository:

    git clone https://github.com/yourusername/flask-demo-app.git
    cd flask-demo-app
  2. Set Up a Virtual Environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Run the Application Locally:

    python app.py

Deployment

  1. Build the Docker Image:

    docker build -t flask-demo-app:1.0.0 .
  2. Deploying on Kubernetes with Helm: Refer to the Helm chart in the flask-demo-app-chart directory and the associated documentation for deployment instructions.

About

This project designed to demonstrate the deployment of containerized applications on Kubernetes using Helm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published