-
Notifications
You must be signed in to change notification settings - Fork 56
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
4. Adding Support For VPA and Auto Mode in CreateExperiment [KRUIZE-VPA Integration] #1415
Conversation
Signed-off-by: Shekhar Saxena <[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
} else if (kruizeObject.getMode().equalsIgnoreCase(AnalyzerConstants.RECREATE)) { | ||
setLocal_monitoring(true); | ||
} else if (kruizeObject.getMode().equalsIgnoreCase(AnalyzerConstants.AUTO)) { | ||
setLocal_monitoring(true); |
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.
Maybe a switch case would be more appropriate here
Signed-off-by: Shekhar Saxena <[email protected]>
case AnalyzerConstants.RECREATE: | ||
case AnalyzerConstants.AUTO: |
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.
Please combine this with MONITOR as currently they are all the same
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.
Sure dino! I have updated the code to use switch
case
block and combined the RECREATE
and AUTO
cases with the MONITOR
case.
Signed-off-by: Shekhar Saxena <[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 VPA alpha support
Description
This PR adds
auto
andrecreate
modes required for VPA in createExperiment for Local Monitoring.Type of change
How has this been tested?
Tested on both the ResourceHub cluster.
Test Configuration
Kubernetes clusters tested on: ResourceHub (OpenShift)
Checklist 🎯