Commit Graph

5 Commits

Author SHA1 Message Date
Andrés Eduardo García Márquez 2568990465 refactor(k3s): rename namespace from student-enrollment to academia 2026-01-08 16:44:22 -05:00
Andrés Eduardo García Márquez 1ad090329b fix(k3s): update image names and deployment docs
- Rename images from academia-* to student-* for consistency
- Update DEPLOYMENT.md with latest deployment procedures
2026-01-08 16:40:57 -05:00
Andrés Eduardo García Márquez c15702746a ci: optimize deployment workflow for k3s
- Single job instead of 3 (no artifact overhead)
- Build directly on k3s node (avoids image transfer)
- Parallel Docker builds with BuildKit
- Auto-create namespace if missing
- Automatic rollback on failure
- Health check via domain
2026-01-08 13:34:38 -05:00
Andrés Eduardo García Márquez a899f3f19b fix(k8s): optimize API and frontend resource configuration
API deployment:
- Add .NET GC optimization flags (gcServer=0, GCConserveMemory=9)
- Increase memory requests/limits for stability
- Add GCHeapCount and gcConcurrent settings

Frontend deployment:
- Adjust resource limits for better stability
- Update probe configurations
2026-01-08 00:01:49 -05:00
Andrés Eduardo García Márquez c0a47c2ba6 feat(deploy): add Docker and Kubernetes deployment
Docker:
- Multi-stage Dockerfile for API (.NET 10)
- Multi-stage Dockerfile for frontend (Angular + Nginx)
- docker-compose.yml with resource optimization
- Nginx reverse proxy configuration
- Health checks for all services

Kubernetes (k3s):
- Namespace and ConfigMap
- SQL Server StatefulSet with PVC
- API Deployment with HPA
- Frontend Deployment
- Services and Ingress
- Network policies for security
- Secrets management

Resource optimization:
- SQL Server Express with 1GB RAM limit
- API with 512MB limit
- Frontend with 128MB limit
2026-01-07 23:00:41 -05:00