-
Notifications
You must be signed in to change notification settings - Fork 57
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
KAMS - 4: Adds Recommendation updater and MIG based recommendation mechanism #1465
Conversation
@bharathappali Please fix the conflicts |
d9bbae9
to
af40f8b
Compare
@bharathappali New conflicts, please fix |
b5eaf13
to
d8162ca
Compare
@@ -194,7 +194,7 @@ public static void markAcceleratorDeviceStatusToContainer(ContainerData containe | |||
if (null == resultArray || resultArray.isEmpty()) { | |||
// Need to alert that container max duration is not detected | |||
// Ignoring it here, as we take care of it at generate recommendations |
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.
looks like we need to update the comment here
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.
I feel we need that comment as these functions markAcceleratorPartitionDeviceStatusToContainer
& markAcceleratorDeviceStatusToContainer
try to extract the accelerator details from prometheus and while checking the code we might add alerts (In future) thinking that it's missing here.
This comment helps in understanding that it's not required to alert the user twice about the same thing. Please correct me if I'm wrong.
src/main/java/com/autotune/analyzer/recommendations/utils/RecommendationUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/com/autotune/analyzer/autoscaler/accelerator/AcceleratorAutoscalerImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/autotune/analyzer/autoscaler/accelerator/AcceleratorAutoscalerImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/com/autotune/analyzer/autoscaler/accelerator/AcceleratorAutoscalerImpl.java
Outdated
Show resolved
Hide resolved
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
d8162ca
to
65802f1
Compare
Signed-off-by: bharathappali <[email protected]>
Signed-off-by: bharathappali <[email protected]>
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.
LGTM for alpha level instaslice integration
Description
KAMS - Kruize Accelerator MIG-tuning Service
The Recommendation Updater is added to update the workloads which has MIG partitions created by
Instaslice
. We set the updater value at the time of recommendation generation and updater changes the resources once it's triggeredType of change
How has this been tested?
Tests are pending due to unavailability of accelerator hardware
Test Configuration
Checklist 🎯