Skip to content

Complete EvalHub controller implementation for production readiness #617

@ruivieira

Description

@ruivieira

Description

Complete the EvalHub controller implementation started in PR #611 to make it production-ready and merge-able.

Background

PR #611 introduces a comprehensive EvalHub Custom Resource Definition (CRD) and controller that enables deployment and management of eval-hub instances on Kubernetes/OpenShift. The PR is currently marked as WIP and needs additional work to be production-ready.

Current Status (from PR #611)

Completed:

  • EvalHub CRD definition (api/evalhub/v1alpha1/)
  • Complete controller implementation (controllers/evalhub/)
  • Resource management (Deployment, Service, ConfigMap, Route creation)
  • OpenShift Route integration with TLS termination
  • Comprehensive unit and integration tests
  • RBAC permissions and configuration
  • Sample EvalHub resource configurations

Remaining Tasks

Code Quality & Review

  • Address any code review feedback from PR feat: Add EvalHub controller #611
  • Ensure all linting and formatting standards are met
  • Verify test coverage meets project requirements
  • Update any outdated dependencies or API versions

Documentation

  • Add comprehensive documentation for EvalHub CRD usage
  • Update operator README with EvalHub examples
  • Document environment variable configurations
  • Add troubleshooting guide for common EvalHub issues

Integration & Validation

  • Validate EvalHub works correctly in multi-namespace scenarios
  • Test resource cleanup on EvalHub deletion
  • Verify status reporting accuracy across different cluster states
  • Ensure proper handling of resource update conflicts

Production Readiness

  • Add proper logging with appropriate log levels
  • Implement graceful degradation for missing dependencies
  • Add metrics for EvalHub controller operations
  • Validate resource limits and requests are appropriate

CI/CD Integration

  • Ensure all automated tests pass consistently
  • Add any missing test scenarios for edge cases
  • Verify CRD generation is properly automated
  • Update any CI configuration for EvalHub-specific tests

Acceptance Criteria

  • PR feat: Add EvalHub controller #611 passes all required checks and reviews
  • EvalHub can be successfully deployed and managed in test environments
  • All documentation is complete and accurate
  • No breaking changes to existing operator functionality
  • Performance impact is within acceptable limits

Definition of Done

  • PR feat: Add EvalHub controller #611 is approved and merged
  • EvalHub functionality is available in the next operator release
  • Documentation is published and accessible to users
  • Integration tests validate end-to-end EvalHub workflows

Priority

High - This extends the operator's capabilities to support evaluation workflows, which are core to TrustyAI functionality.

Related

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions