13 Commits

Author SHA1 Message Date
07f004f2a6 Fix: Corrige indentação YAML no deployment.yaml 2025-10-27 13:10:58 -03:00
c963879739 fix: update Celery task to return real cluster data instead of mock data 2025-10-06 15:31:47 -03:00
8c616652af feat: implement ThanosClient for historical data queries and hybrid Prometheus+Thanos architecture 2025-10-06 12:14:40 -03:00
bf06ae190a fix: correct KubernetesClient import to K8sClient in Celery tasks 2025-10-06 10:40:20 -03:00
1e447903aa Fix: increase pod memory limits to prevent OOM kills 2025-10-06 10:13:42 -03:00
4330df5054 Optimize application resource requests/limits based on real usage
- Reduce replicas from 2 to 1 (single instance sufficient)
- Adjust CPU requests: 100m → 50m (based on actual usage)
- Adjust CPU limits: 500m → 200m (4x headroom for spikes)
- Adjust memory requests: 128Mi → 64Mi (realistic baseline)
- Adjust memory limits: 512Mi → 256Mi (2x headroom for 160MB peak usage)
- Update S2I template with same optimized values
- Maintain proper resource ratios (4:1 CPU, 4:1 Memory)
- Eliminate resource waste and improve cluster efficiency
2025-10-04 09:05:59 -03:00
756cc43997 cleanup: remove all Docker Hub references and update to Quay.io
- Update deployment.yaml to reference Quay.io instead of Docker Hub
- Remove Docker Hub references from README.md
- Update build-and-push.sh to show Quay.io registry info
- Update release.sh to reference Quay.io repository
- Update push-to-internal-registry.sh to use Quay.io image
- Clean up all Docker Hub comments and references
- Registry is now exclusively Quay.io: quay.io/rh_ee_anobre/resource-governance
2025-10-03 07:04:58 -03:00
c81ba36b26 fix: correct route name and health check endpoints in deployment
- Fix route name mismatch: script was looking for 'resource-governance' but route is named 'resource-governance-route'
- Fix health check endpoints: use /health instead of /api/v1/health for liveness/readiness probes
- Add better error handling and route verification in deploy script
- Add sleep delay to ensure route is ready before URL extraction
- Show available routes if expected route is not found
2025-10-03 06:37:35 -03:00
2a582e1936 Fix: SSL connection to Kubernetes API and make deployment cluster-agnostic 2025-09-29 10:44:08 -03:00
1bc1a40a02 Fix: Updated deployment files with correct Prometheus URL and RBAC permissions 2025-09-25 22:15:54 -03:00
9f8cdbda7a Fix: GitHub Actions for public clusters + deployment guide for colleagues 2025-09-25 18:26:05 -03:00
071ffefef7 Add system namespace filtering
- Add configuration to exclude system namespaces by default
- Add UI checkbox to include system namespaces when needed
- Update API endpoints to accept include_system_namespaces parameter
- Update Kubernetes client to apply namespace filtering
- Update ConfigMap and deployment with new environment variables
- Fix Dockerfile to install dependencies globally
- Test functionality with both filtered and unfiltered results
2025-09-25 17:39:33 -03:00
3a6875a80e Add CI/CD with GitHub Actions and migrate to Deployment
- Migrate from DaemonSet to Deployment for better efficiency
- Add GitHub Actions for automatic build and deploy
- Add Blue-Green deployment strategy with health checks
- Add scripts for development and production workflows
- Update documentation with CI/CD flow
2025-09-25 17:20:38 -03:00