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.
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.
- Python 3.8+
- Docker
- Kubernetes (optional for local testing)
- Helm (for Kubernetes deployment)
-
Clone the Repository:
git clone https://github.com/yourusername/flask-demo-app.git cd flask-demo-app
-
Set Up a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application Locally:
python app.py
-
Build the Docker Image:
docker build -t flask-demo-app:1.0.0 .
-
Deploying on Kubernetes with Helm: Refer to the Helm chart in the
flask-demo-app-chart
directory and the associated documentation for deployment instructions.