Commit Graph

99 Commits

Author SHA1 Message Date
6b2f8de6b6 Fix Prometheus queries using correct OpenShift metrics from console dashboard
- Updated CPU usage query to use node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate
- Updated memory usage query to use container_memory_working_set_bytes with correct job and metrics_path
- Updated requests/limits queries to use kube_resourcequota with correct cluster and type parameters
- Applied fixes to both get_workload_historical_analysis and get_namespace_historical_analysis functions
- Queries now match the working queries from OpenShift console dashboard
2025-09-29 13:33:48 -03:00
32ef5d859c Fix: Remove prometheus_client parameter from historical analysis functions 2025-09-29 13:25:13 -03:00
39b6a06de7 Fix: Remove incorrect prometheus_client parameter from _query_prometheus calls 2025-09-29 13:10:51 -03:00
e6bb852937 Fix: Correct namespace historical analysis function to use cluster status API 2025-09-29 13:09:01 -03:00
e47274b41b UI: Implement nested namespace/deployment structure with historical analysis buttons 2025-09-29 13:05:07 -03:00
235b114f87 Clean: Remove all outdated documentation files, keep only essential docs 2025-09-29 12:53:25 -03:00
3106bca61c Docs: Mark outdated documentation files and create documentation index 2025-09-29 12:28:54 -03:00
2c46b46d2e Fix: Remove duplicated sections and update outdated information in README 2025-09-29 12:25:59 -03:00
fd2a2f45a4 Enhance: Show specific request and limit values in ratio validation messages 2025-09-29 12:20:35 -03:00
284281df32 Add AIAgents-Support.md to gitignore and create comprehensive project documentation 2025-09-29 12:14:51 -03:00
0e7d2c7900 Fix: Remove hardcoded hostname from route to make it cluster-agnostic 2025-09-29 11:55:02 -03:00
2a582e1936 Fix: SSL connection to Kubernetes API and make deployment cluster-agnostic 2025-09-29 10:44:08 -03:00
cfe3d3006e Translate README.md to English 2025-09-26 19:12:57 -03:00
0a5b8a03c6 Implement workload-based historical analysis with timeline buttons 2025-09-26 13:50:44 -03:00
85446e673e Update menu names and remove red header banner for cleaner interface 2025-09-26 11:12:41 -03:00
e288ebca41 Remove Controls card and move Export to floating button with modal 2025-09-26 11:06:47 -03:00
d7d8e4696f Add professional sidebar navigation without breaking existing functionality 2025-09-26 10:57:17 -03:00
bfdfc57dee Fix: change accordion header active color from red to dark gray for better readability 2025-09-26 10:07:05 -03:00
0132a90387 Move Historical Analysis button to individual pod cards with pod-specific Prometheus queries 2025-09-26 10:01:51 -03:00
6c01527b5e Fix: modal initialization to prevent empty modal on page load 2025-09-26 09:16:24 -03:00
3511e1cd41 Implement individual namespace historical analysis with modal UI 2025-09-26 09:07:58 -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
f8279933d6 Fix: Translate all remaining Portuguese text to English in routes, services and frontend 2025-09-25 20:40:52 -03:00
cceb0a92b8 Fix: Translate Historical Analysis and VPA sections to English 2025-09-25 20:20:09 -03:00
a3ff2fc158 Fix: Complete translation of all remaining Portuguese text to English 2025-09-25 20:17:16 -03:00
41fdef4df0 Remove: Delete problematic workflow file completely 2025-09-25 20:09:44 -03:00
89a7ee41de Fix: Translate all validation messages and UI text from Portuguese to English 2025-09-25 20:08:13 -03:00
2d0c086df2 Remove: Delete disabled workflow file to prevent GitHub Actions failures 2025-09-25 19:19:50 -03:00
7d068dfa92 Fix: Completely disable old workflow to prevent failures 2025-09-25 19:03:11 -03:00
e95f3e3f7c Add: Multiple auto-deploy solutions for OpenShift after GitHub Actions 2025-09-25 18:40:31 -03:00
6f6e4ed19d Enhance: GitHub Actions with smart tagging, release script, and comprehensive guide 2025-09-25 18:34:20 -03:00
9f8cdbda7a Fix: GitHub Actions for public clusters + deployment guide for colleagues 2025-09-25 18:26:05 -03:00
66a5bb116f UI: improve accordion card alignment - namespace left, stats right 2025-09-25 18:17:39 -03:00
6873afe082 UI: translate to English, add accordion arrow, rename validations to analysis 2025-09-25 18:09:26 -03:00
4b32a4a330 Add: local deployment script for internal OpenShift 2025-09-25 17:51:56 -03:00
e86d9c0ba0 Fix: OpenShift login command syntax 2025-09-25 17:49:45 -03:00
af3ba49513 Test: GitHub Actions secrets configuration 2025-09-25 17:47:32 -03:00
ed992e4c94 Optimize GitHub Actions workflow
- Remove heavy Python dependencies installation from CI
- Add basic syntax check instead of full dependency install
- Optimize Podman installation with quiet flags
- Add build cache with --layers flag
- Add 30-minute timeout to prevent hanging
- Use single build with tag instead of double build
- Improve overall workflow performance
2025-09-25 17:40:26 -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
4e57a896fe feat: interface com acordeões por namespace e paginação 2025-09-25 16:50:07 -03:00
92b902135c Fix: ConfigMap CRITICAL_NAMESPACES format and complete deployment test 2025-09-25 15:32:02 -03:00
25596e2b3e Add: scripts de deploy completo com ImagePullSecret para cluster-admin 2025-09-25 15:24:31 -03:00
2ca4b468cb Update to use Docker Hub registry
- Change from Quay.io to Docker Hub (andersonid/openshift-resource-governance)
- Update GitHub Actions to use DOCKERHUB_USERNAME and DOCKERHUB_TOKEN
- Update all scripts and documentation to use Docker Hub
- Add DOCKERHUB-SETUP.md with detailed setup instructions
- Update Makefile, deploy scripts, and templates
- Simplify registry references (no quay.io prefix needed)
2025-09-25 14:46:09 -03:00
f5de2694fa Add Quick Start guide for easy deployment 2025-09-25 14:28:51 -03:00
c79ceac31d Add GitHub integration and OpenShift deployment automation
- Adiciona GitHub Actions workflow para CI/CD
- Cria script openshift-deploy.sh para deploy simplificado
- Adiciona template OpenShift com parâmetros configuráveis
- Inclui documentação completa de deploy (DEPLOY.md)
- Configura integração com Quay.io registry
- Facilita deploy direto do repositório GitHub
2025-09-25 14:28:34 -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