-
Notifications
You must be signed in to change notification settings - Fork 61
[WIP] adding ratio limit calculations #1704
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
base: mvp_demo
Are you sure you want to change the base?
Conversation
| public static final int SECTION_CRITICAL_SUBSECTION_DATA_SUBSYSTEM_MEMORY_START = 524000; | ||
| public static final int CRITICAL_MEMORY_REQUEST_NOT_SET = 524001; | ||
| public static final int CRITICAL_MEMORY_LIMIT_NOT_SET = 524002; | ||
| public static final int ERROR_NO_RECOMMENDED_REQUEST_FOR_LIMIT_CALCULATION = 225001; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add these new notification codes in the design doc as well.
For reference: https://github.com/kruize/autotune/blob/master/design/NotificationCodes.md
| public static final String METADATA_PROFILE_FILE_PATH = "metadataProfileFilePath"; | ||
| public static final String METRIC_PROFILE_FILE_PATH = "metricProfileFilePath"; | ||
| public static final String IS_KAFKA_ENABLED = "isKafkaEnabled"; | ||
| public static final String ADJUST_MEM_USAGE = "adjustMemUsage"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This flag needs to be added in the crc yaml to control the flow before starting the kruize application
| @@ -0,0 +1,2628 @@ | |||
| package com.autotune.analyzer.recommendations.engine; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be mistake. We already have this data in the RecommendationEngine class.
We also have the RecommendationConstants class as well.
Please check and revert this change.
Description
This feature aims to give users more control over how Kruize calculates resource recommendations, specifically allowing the recommended limits to be different from the recommended requests, while maintaining the user's existing ratio between them.
Fixes # (issue)
Type of change
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.
Test Configuration
Checklist 🎯
Additional information
Include any additional information such as links, test results, screenshots here