Releases: r21gh/devops-assignment
Releases · r21gh/devops-assignment
Flask Application Release v1.0.0
Flask Application Release v1.0.0
Overview
This release introduces a production-ready Flask application deployment solution with comprehensive DevOps practices and cloud-native architecture.
Application (v1.0.0)
- Flask web application with health monitoring endpoints
- Python 3.11 base with Flask 3.0.0
- Gunicorn 21.2.0 as WSGI server
- Comprehensive logging and metrics collection
- Environment-based configuration management
Docker Container
- Multi-stage build optimization
- Non-root user security implementation
- Health check integration
- Published to
docker.ioregistry - Base image:
python:3.11-slim
Infrastructure Components
Helm Chart (v0.1.0)
- Environment-specific configurations
- Kubernetes resource templates
- Automated deployment workflows
- Rolling update strategy
Kubernetes Resources
- Deployment management
- Service networking
- ConfigMap configurations
- Secure secrets handling
- Horizontal Pod Autoscaling
Environment Configurations
Development (dev)
- Single replica deployment
- Debug-level logging
- Resource limits:
500mCPU,512Mimemory - Local development support with Minikube
Production (prod)
- High availability with 3 replicas
- Warning-level logging
- Resource limits:
1000mCPU,1Gimemory - Autoscaling: 3–10 replicas based on CPU/Memory utilization
- Production-grade ingress configuration
Monitoring & Observability
- Prometheus metrics integration
- Grafana dashboards
- Health check endpoints:
/health/livefor liveness/health/readyfor readiness/metricsfor Prometheus
Security Features
- Non-root container execution
- RBAC implementation
- Network policies
- Secure secrets management
- ReadOnly root filesystem
DevOps Tooling
- Terraform
- Helm
- Kubernetes
- Task automation for common operations