forked from opendatahub-io/kserve
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow disabling creation of the HPA in raw deployment mode (kserve#3086)
* Refactor autoscaler functionality into an interface. Add no-op autoscaler so users disable creation of autoscaler resources. Add AutoscalerClassNone feature with test cases Signed-off-by: jooho <jlee@redhat.com> Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Rollback getHPAMetrics to set ScaleTarget,ScaleMetric Signed-off-by: jooho <jlee@redhat.com> Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fix merge conflict Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fix autoscaler api group Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fix autoscaler merge Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fix autoscaling tests Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Updated hpa disable test. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Replaced "AutoscalerClassNone" with "AutoscalerClassExternal" Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fixed autoscalerClass 'external' go test. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> --------- Signed-off-by: jooho <jlee@redhat.com> Signed-off-by: Dan Sun <dsun20@bloomberg.net> Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> Co-authored-by: Curtis Maddalozzo <curtis@tractable.ai> Co-authored-by: jooho <jlee@redhat.com> Co-authored-by: Dan Sun <dsun20@bloomberg.net>
- Loading branch information
1 parent
8777360
commit ea50e18
Showing
10 changed files
with
468 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.