This is a Python Flask app deployed using Docker, Jenkins, and Kubernetes.
-
Build Docker image: docker build -t devops-sample-app .
-
Run locally: docker run -p 5000:5000 devops-sample-app
-
Jenkins pipeline:
- Build & push image
- Deploy to Kubernetes
-
Kubernetes deployment: kubectl apply -f k8s-deployment.yaml kubectl apply -f k8s-service.yaml
App will be available at http://:80