Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Improve model adapter controller by handling existing resources #54

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

Jeffwan
Copy link
Collaborator

@Jeffwan Jeffwan commented Jul 29, 2024

Pull Request Description

  1. Update the Model Adapter CRD and clean up unused fields
  2. Update the controller logic and make sure the resources created are correctly handled.

image

Related Issues

Resolves: #52 #22

Important: Before submitting, please complete the description above and review the checklist below.


Contribution Guidelines (Expand for Details)

We appreciate your contribution to aibrix! To ensure a smooth review process and maintain high code quality, please adhere to the following guidelines:

Pull Request Title Format

Your PR title should start with one of these prefixes to indicate the nature of the change:

  • [Bug]: Corrections to existing functionality
  • [CI]: Changes to build process or CI pipeline
  • [Docs]: Updates or additions to documentation
  • [API]: Modifications to aibrix's API or interface
  • [CLI]: Changes or additions to the Command Line Interface
  • [Misc]: For changes not covered above (use sparingly)

Note: For changes spanning multiple categories, use multiple prefixes in order of importance.

Submission Checklist

  • PR title includes appropriate prefix(es)
  • Changes are clearly explained in the PR description
  • New and existing tests pass successfully
  • Code adheres to project style and best practices
  • Documentation updated to reflect changes (if applicable)
  • Thorough testing completed, no regressions introduced

By submitting this PR, you confirm that you've read these guidelines and your changes align with the project's contribution standards.

Jeffwan added 2 commits July 28, 2024 16:52
1. Clean up the conditions and only leave phase and []metav1.Condition
2. Enrich the phase and condition type
1. Update phase and conditions in the workflow
2. Initially support finalizer
3. Handle resource existing cases (status.instance, service & endpointslice etc)
@Jeffwan Jeffwan changed the title Improve model adapter controller by handling existing resources [feat] Improve model adapter controller by handling existing resources Jul 29, 2024
@Jeffwan Jeffwan requested review from varungup90 and xieus July 29, 2024 02:26
@Jeffwan Jeffwan changed the title [feat] Improve model adapter controller by handling existing resources [Core] Improve model adapter controller by handling existing resources Jul 29, 2024
@Jeffwan Jeffwan merged commit f6902d7 into main Jul 29, 2024
@Jeffwan Jeffwan deleted the jiaxin/lora-crd-improvement branch July 29, 2024 21:19
gangmuk pushed a commit that referenced this pull request Jan 25, 2025
#54)

* Update ModelAdapter API definition

1. Clean up the conditions and only leave phase and []metav1.Condition
2. Enrich the phase and condition type

* Improve model adapter controller implementation

1. Update phase and conditions in the workflow
2. Initially support finalizer
3. Handle resource existing cases (status.instance, service & endpointslice etc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the Lora controller - part3
2 participants