This repository contains a Helm chart to deploy a Python Flask-based REST API application on Kubernetes. The chart is designed to be easy to use and configure for your environment.
Before you begin, ensure that you have the following installed:
- Kubernetes cluster (minikube, AWS EKS, GKE, etc.)
- Helm 3.x
- kubectl
To install and deploy the python-app-helm-chart using Helm, follow these steps:
Clone this repository to your local machine if you haven't already.
git clone https://github.com/your-repo/python-app-helm-chart.git
cd python-app-helm-chartEnsure that your kubectl is configured to use the correct Kubernetes context.
kubectl config use-context <your-context>Use the following Helm command to install the Python Flask REST API:
helm install python-app-release python-app-helm-chartThis will deploy the application using the Helm chart in the current directory. By default, it will create the necessary Kubernetes resources (like Deployments, Services, and ConfigMaps).
After deploying the application, you can access it via the following IP address and port:
http://172.29.221.135:32077
To confirm that the application is running, you can check the status of the deployed resources:
kubectl get allThis will show the Pods, Services, and other resources created by the Helm chart.
To uninstall the Python Flask REST API application and remove all associated resources, use the following Helm command:
helm uninstall python-app-releaseThis will delete the release and clean up all the Kubernetes resources.