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

Single model - Single Term changes #1457

Open
wants to merge 18 commits into
base: mvp_demo
Choose a base branch
from

Conversation

bhanvimenghani
Copy link
Contributor

@bhanvimenghani bhanvimenghani commented Jan 10, 2025

Description

This pull request introduces the ability for users to configure recommendations based on their specific use case by allowing them to:

  • Specify a single model (e.g., cost or performance).
  • Focus on a single term of interest (e.g., short, medium, or long term ).

Few important features of the pr:

  • This pr now has different functions to handle remote monitoring and local monitoring use cases. Such that the remote monitoring flow remains undisturbed.
  • It also handles the default use case, wherein if the experiment is does not have model and term settings it defaults to performance model and short term.
  • Works well with the VPA demo
  • Documentation added

Here is the link to the Design document supporting this pr.

Quay image to test changes : quay.io/bmenghan/single_model:v10

Fixes # (issue)

Type of change

  • Bug fix
  • New feature
  • Docs update
  • Breaking change (What changes might users need to make in their application due to this PR?)
  • Requires DB changes

How has this been tested?

Please describe the tests that were run to verify your changes and steps to reproduce. Please specify any test configuration required.

  • New Test X
  • Functional testsuite

Test Configuration

  • Kubernetes clusters tested on:
    kind

Checklist 🎯

  • Followed coding guidelines
  • Comments added
  • Dependent changes merged
  • Documentation updated
  • Tests added or updated

Additional information

Include any additional information such as links, test results, screenshots here

@bhanvimenghani bhanvimenghani self-assigned this Jan 10, 2025
@dinogun
Copy link
Contributor

dinogun commented Jan 16, 2025

@bhanvimenghani Looks like the build_crc PR check is failing. I'd suggest that you start with kruize-demo changes for the VPA demo that can be used to test this feature as well as add Documentation changes to this PR

@bhanvimenghani bhanvimenghani changed the title [Draft] Single model - Single Term changes Single model - Single Term changes Jan 22, 2025
@bhanvimenghani
Copy link
Contributor Author

@dinogun the pr is ready for review.

design/KruizeLocalAPI.md Outdated Show resolved Hide resolved
@dinogun
Copy link
Contributor

dinogun commented Feb 6, 2025

@bhanvimenghani Please fix the conflicts

Copy link
Contributor

@khansaad khansaad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chandrams
Copy link
Contributor

@msvinaykumar - Please review this PR

// Add new models
recommendationModels = new ArrayList<>();
for (String model : modelName) {
if ("cost".equalsIgnoreCase(model)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use constants here as discussed

Copy link
Contributor

@chandrams chandrams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chandrams
Copy link
Contributor

@bhanvimenghani Please ensure there are no regressions by running the functional testsuite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under Review
Development

Successfully merging this pull request may close these issues.

4 participants