-
Notifications
You must be signed in to change notification settings - Fork 576
Add library support for Trimaran TargetLoadPacking plugin (Resolve issue #144) #152
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
Conversation
|
Welcome @wangchen615! |
|
Hi @wangchen615. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
@wangchen615 could you fix the integration test failure: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_scheduler-plugins/152/pull-scheduler-plugins-integration-test/1365256888135979008? @zorro786 could you help to ensure the tests covers different metric providers? UT or integration test is either fine. |
Yes, the bug is fixed. |
@Huang-Wei I hope you meant to add these tests in |
It'd be good enough if different metric provider impl has been covered in load-wather side. |
@zorro786 scheduler plugins now pass args as parameters to create a library client, it is not really using the envs. So I am not sure how to test just the args. |
Ah I meant testing args sorry. Please see |
update gofmt Apply suggestions from code review Apply some changes in readme.md and the naming issues according to the code review. Co-authored-by: Abdul Qadeer <[email protected]> change the metricProviderSpec for TargetLoadPackingArgs update gofmt Add example yamls for both library and service client approach Add Operator Field in the WatcherMetrics for both plugin and testing update gofmt add operator in node metrics for integration test update gofmt revert pkg/apis/config/v1beta1/zz_generated.defaults.go Update the comments for MetricProvider
|
/lgtm Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Huang-Wei, wangchen615 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR is to solve and close issue #144 .
It can use
load-watcher:v0.1.1both as a service and as a library to fetch metrics in Trimaran TargetLoadPacking plugin.The configuration is backward compatible.