feat(api): Introduce OptimizationJob v1alpha1 API Types and CEL Validation Rules (KEP-3562) - #3875
Conversation
Signed-off-by: Haseebx162006 <haseebahmad0160@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
🎉 Welcome to the Kubeflow Trainer! 🎉 Thanks for opening your first PR! We're happy to have you as part of our community 🚀 Here's what happens next:
Join the community:
Feel free to ask questions in the comments if you need any help or clarification! |
|
Closing this PR because the OptimizationJob API types have already been implemented upstream in #3552. My PR is therefore redundant. I’ll look for an open follow-up task under KEP-3562 where I can contribute further. |
What this PR does / why we need it
This PR introduces the initial
v1alpha1API types and validation framework forOptimizationJob, as part of KEP-3562.The API provides the foundational Kubernetes types required to represent hyperparameter optimization jobs in Kubeflow Trainer, including objectives, search algorithms, search spaces, parameters, and optimization results.
Proposed Changes
OptimizationJobandOptimizationJobListAPI types.OptimizationJobSpecandOptimizationJobStatus.OptimizationJobandOptimizationJobListwith thev1alpha1API scheme.DeepCopy()behavior.These types provide the API foundation for the OptimizationJob controller and subsequent optimization/suggestion-service integration described in KEP-3562.
Testing
go test -v ./pkg/apis/trainer/v1alpha1/...Which issue(s) this PR relates to
Part of #3562
Related to #3749
Checklist