Commit Graph

21 Commits

Author SHA1 Message Date
21412e2b1c fix: add health_check method to PrometheusClient 2025-10-06 12:16:05 -03:00
8c616652af feat: implement ThanosClient for historical data queries and hybrid Prometheus+Thanos architecture 2025-10-06 12:14:40 -03:00
5e9ffa1f4b Change debug logs to INFO level for pod filtering 2025-10-04 10:12:37 -03:00
e2ee01fc61 Add debug logging for pod filtering 2025-10-04 10:11:00 -03:00
472eec01c9 Filter out build pods and non-running pods from analysis
- Filter pods with status not in [Running, Pending]
- Filter pods ending with -build (S2I build pods)
- Prevent build pods from polluting workload analysis
- Improve analysis accuracy by focusing on active workloads
2025-10-04 10:08:37 -03:00
74f579050c feat: implement real Resource Utilization with Prometheus
- Add get_cluster_resource_utilization() method to PrometheusClient
- Use real CPU and memory usage vs requests data from Prometheus
- Replace placeholder 75% with actual cluster resource utilization
- Update modal to show production-ready status instead of placeholder
- Add automatic fallback to simulated data if Prometheus unavailable
- Calculate overall utilization as average of CPU and memory efficiency
2025-10-02 18:57:10 -03:00
64e17eb521 feat: implement VPA CRD support
- Add CustomObjectsApi integration for VPA resources
- Implement VPA CRUD operations (list, create, delete)
- Add VPA recommendation collection via CRD
- Add API endpoints for VPA management
- Handle VPA installation detection gracefully
- Complete TODO #1: CRD para VPA implementation
2025-10-02 18:50:56 -03:00
a1a70bae45 Implement smart recommendations application and improve VPA modal contrast 2025-10-02 17:30:05 -03:00
6f914c9404 Fix: update Prometheus URL to use HTTPS instead of HTTP 2025-09-30 21:05:40 -03:00
5c5643576f Fix: Add query_range method to PrometheusClient for historical metrics 2025-09-30 17:45:18 -03:00
dea241f8ca CRITICAL FIX: corrigido parsing de CPU que estava convertendo 100m para 100 cores 2025-09-29 18:16:13 -03:00
9fba4bbe4e Fix: corrigido calculo de recursos dos pods no dashboard 2025-09-29 18:03:23 -03:00
2a582e1936 Fix: SSL connection to Kubernetes API and make deployment cluster-agnostic 2025-09-29 10:44:08 -03:00
274d8a1e55 Fix: disable SSL verification for Prometheus HTTPS connections 2025-09-26 08:58:57 -03:00
1bc1a40a02 Fix: Updated deployment files with correct Prometheus URL and RBAC permissions 2025-09-25 22:15:54 -03:00
f38689d9dd Translate all Portuguese text to English 2025-09-25 21:05:41 -03:00
89a7ee41de Fix: Translate all validation messages and UI text from Portuguese to English 2025-09-25 20:08:13 -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
4e57a896fe feat: interface com acordeões por namespace e paginação 2025-09-25 16:50:07 -03:00
25596e2b3e Add: scripts de deploy completo com ImagePullSecret para cluster-admin 2025-09-25 15:24:31 -03:00
4d60c0e039 Initial commit: OpenShift Resource Governance Tool
- Implementa ferramenta completa de governança de recursos
- Backend Python com FastAPI para coleta de dados
- Validações seguindo best practices Red Hat
- Integração com Prometheus e VPA
- UI web interativa para visualização
- Relatórios em JSON, CSV e PDF
- Deploy como DaemonSet com RBAC
- Scripts de automação para build e deploy
2025-09-25 14:26:24 -03:00