feat: Complete GitOps deployment infrastructure for Lions Dev
🏗️ Infrastructure Setup: - Created comprehensive GitOps repository structure - Implemented Kubernetes manifests for lionsdev-client application - Configured multi-environment deployment strategy (dev/staging/production) 📦 Kubernetes Resources: - Namespace with ResourceQuota and LimitRange - ConfigMap with environment-specific application configuration - Secrets with Vault integration for sensitive data - Deployment with production-ready security and performance settings - Service and Ingress with SSL/TLS termination - HorizontalPodAutoscaler for automatic scaling - RBAC with ServiceAccount and proper permissions - PodDisruptionBudget for high availability 🌍 Environment Configuration: - Production: k2 cluster, lions.dev domain, 3 replicas - Staging: k1 cluster, staging.lions.dev domain - Development: k1 cluster, dev.lions.dev domain 🔐 Security Features: - Pod Security Standards enforcement - Non-root container execution - Read-only root filesystem - Security headers and CSP policies - Rate limiting and DDoS protection - Automatic SSL certificate management ⚡ Performance Optimizations: - Resource requests and limits tuning - Health checks (liveness, readiness, startup) - Static asset caching strategies - Gzip compression and optimization - Anti-affinity rules for pod distribution 🚀 Deployment Features: - Blue-green deployment strategy - Automatic rollback on failure - Prometheus metrics integration - Centralized logging with structured format - Email notifications for deployment status 📊 Monitoring & Observability: - Prometheus metrics scraping - Grafana dashboard integration - Health check endpoints - Application performance monitoring - Infrastructure metrics collection 🛠️ Deployment Script: - Interactive deployment script with environment validation - Support for dev/staging/production environments - Automatic cluster selection based on environment - Safety confirmations for production deployments - Comprehensive logging and error handling Ready for deployment with lionsctl pipeline command: lionsctl pipeline -u https://git.lions.dev/lionsctl-bot/lionsctl-deployments -b main -j 17 -e production -c k2 -m gbanedahoud@gmail.com
This commit is contained in: