{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68429","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68429/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68429/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68429/events","html_url":"https://github.com/kubernetes/kubernetes/pull/68429","id":358230674,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDU0MDgw","number":68429,"title":"Scarce resource bin packing ","user":{"login":"sudeshsh","id":29582829,"node_id":"MDQ6VXNlcjI5NTgyODI5","avatar_url":"https://avatars2.githubusercontent.com/u/29582829?v=4","gravatar_id":"","url":"https://api.github.com/users/sudeshsh","html_url":"https://github.com/sudeshsh","followers_url":"https://api.github.com/users/sudeshsh/followers","following_url":"https://api.github.com/users/sudeshsh/following{/other_user}","gists_url":"https://api.github.com/users/sudeshsh/gists{/gist_id}","starred_url":"https://api.github.com/users/sudeshsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudeshsh/subscriptions","organizations_url":"https://api.github.com/users/sudeshsh/orgs","repos_url":"https://api.github.com/users/sudeshsh/repos","events_url":"https://api.github.com/users/sudeshsh/events{/privacy}","received_events_url":"https://api.github.com/users/sudeshsh/received_events","type":"User","site_admin":false},"labels":[{"id":136601536,"node_id":"MDU6TGFiZWwxMzY2MDE1MzY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/apiserver","name":"area/apiserver","color":"0052cc","default":false},{"id":451459590,"node_id":"MDU6TGFiZWw0NTE0NTk1OTA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/kubeadm","name":"area/kubeadm","color":"0052cc","default":false},{"id":138247961,"node_id":"MDU6TGFiZWwxMzgyNDc5NjE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/kubectl","name":"area/kubectl","color":"0052cc","default":false},{"id":116719829,"node_id":"MDU6TGFiZWwxMTY3MTk4Mjk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/kubelet","name":"area/kubelet","color":"0052cc","default":false},{"id":477397085,"node_id":"MDU6TGFiZWw0NzczOTcwODU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20no","name":"cncf-cla: no","color":"e11d21","default":false},{"id":261005360,"node_id":"MDU6TGFiZWwyNjEwMDUzNjA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/api-change","name":"kind/api-change","color":"e11d21","default":false},{"id":267761362,"node_id":"MDU6TGFiZWwyNjc3NjEzNjI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":200149833,"node_id":"MDU6TGFiZWwyMDAxNDk4MzM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":173493835,"node_id":"MDU6TGFiZWwxNzM0OTM4MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/api-machinery","name":"sig/api-machinery","color":"d2b48c","default":false},{"id":404091735,"node_id":"MDU6TGFiZWw0MDQwOTE3MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/apps","name":"sig/apps","color":"d2b48c","default":false},{"id":238245616,"node_id":"MDU6TGFiZWwyMzgyNDU2MTY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/autoscaling","name":"sig/autoscaling","color":"d2b48c","default":false},{"id":450823910,"node_id":"MDU6TGFiZWw0NTA4MjM5MTA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cli","name":"sig/cli","color":"d2b48c","default":false},{"id":958178286,"node_id":"MDU6TGFiZWw5NTgxNzgyODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cloud-provider","name":"sig/cloud-provider","color":"d2b48c","default":false},{"id":173494222,"node_id":"MDU6TGFiZWwxNzM0OTQyMjI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cluster-lifecycle","name":"sig/cluster-lifecycle","color":"d2b48c","default":false},{"id":482207917,"node_id":"MDU6TGFiZWw0ODIyMDc5MTc=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/instrumentation","name":"sig/instrumentation","color":"d2b48c","default":false},{"id":116712108,"node_id":"MDU6TGFiZWwxMTY3MTIxMDg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/network","name":"sig/network","color":"d2b48c","default":false},{"id":173493665,"node_id":"MDU6TGFiZWwxNzM0OTM2NjU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/node","name":"sig/node","color":"d2b48c","default":false},{"id":614023989,"node_id":"MDU6TGFiZWw2MTQwMjM5ODk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/release","name":"sig/release","color":"d2b48c","default":false},{"id":125550211,"node_id":"MDU6TGFiZWwxMjU1NTAyMTE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/scheduling","name":"sig/scheduling","color":"d2b48c","default":false},{"id":253451093,"node_id":"MDU6TGFiZWwyNTM0NTEwOTM=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":{"login":"k82cn","id":18107181,"node_id":"MDQ6VXNlcjE4MTA3MTgx","avatar_url":"https://avatars0.githubusercontent.com/u/18107181?v=4","gravatar_id":"","url":"https://api.github.com/users/k82cn","html_url":"https://github.com/k82cn","followers_url":"https://api.github.com/users/k82cn/followers","following_url":"https://api.github.com/users/k82cn/following{/other_user}","gists_url":"https://api.github.com/users/k82cn/gists{/gist_id}","starred_url":"https://api.github.com/users/k82cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k82cn/subscriptions","organizations_url":"https://api.github.com/users/k82cn/orgs","repos_url":"https://api.github.com/users/k82cn/repos","events_url":"https://api.github.com/users/k82cn/events{/privacy}","received_events_url":"https://api.github.com/users/k82cn/received_events","type":"User","site_admin":false},"assignees":[{"login":"k82cn","id":18107181,"node_id":"MDQ6VXNlcjE4MTA3MTgx","avatar_url":"https://avatars0.githubusercontent.com/u/18107181?v=4","gravatar_id":"","url":"https://api.github.com/users/k82cn","html_url":"https://github.com/k82cn","followers_url":"https://api.github.com/users/k82cn/followers","following_url":"https://api.github.com/users/k82cn/following{/other_user}","gists_url":"https://api.github.com/users/k82cn/gists{/gist_id}","starred_url":"https://api.github.com/users/k82cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k82cn/subscriptions","organizations_url":"https://api.github.com/users/k82cn/orgs","repos_url":"https://api.github.com/users/k82cn/repos","events_url":"https://api.github.com/users/k82cn/events{/privacy}","received_events_url":"https://api.github.com/users/k82cn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2018-09-07T22:30:43Z","updated_at":"2018-09-25T21:28:44Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/68429","html_url":"https://github.com/kubernetes/kubernetes/pull/68429","diff_url":"https://github.com/kubernetes/kubernetes/pull/68429.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/68429.patch"},"body":"**What this PR does / why we need it**:\r\nThis PR allows users to bin pack scarce resources using the newly implemented ScareResourceBinPacking Priority Function.\r\n\r\n\r\n**Which issue(s) this PR fixes** :\r\nFixes #68036\r\n\r\n**Special notes for your reviewer**:\r\nFor testing \r\n```yaml\r\n...\r\n\"priorities\" : [\r\n    {\"name\" : \"LeastRequestedPriority\", \"weight\" : 1},\r\n    ...\r\n    {\"name\" : \"ScarceResourceBinPackingPriority\", \"weight\": 5, \"argument\": {\"scarceResourceBinPacking\": { \"scarceResource\" :\"intel.com/foo\"}}}\r\n    ...\r\n        ],\r\n```\r\nPatch Nodes \r\n```\r\ncurl --header \"Content-Type: application/json-patch+json\" \\\r\n--request PATCH \\\r\n--data '[{\"op\": \"add\", \"path\": \"/status/capacity/intel.com~1foo”, \"value\": \"4\"}]' \\\r\nhttp://localhost:8001/api/v1/nodes/<node-name>/status\r\n```\r\n**Release note**:\r\n<!--  Write your release note:\r\n1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n2. If no release note is required, just write \"NONE\".\r\n-->\r\n```release-note\r\nAdd ScarceResourceBinPakcing priority function. The function is parametrized to pass the scarce resource.\r\nNode score is calculated using (requested + used)/ available  \r\nThe function is disabled by default and can be enabled via the scheduler policy config file.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/424507932","html_url":"https://github.com/kubernetes/kubernetes/pull/68429#issuecomment-424507932","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/68429","id":424507932,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDUwNzkzMg==","user":{"login":"k8s-ci-robot","id":20407524,"node_id":"MDQ6VXNlcjIwNDA3NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T21:28:44Z","updated_at":"2018-09-25T21:28:44Z","author_association":"CONTRIBUTOR","body":"@sudeshsh: The following tests **failed**, say `/retest` to rerun them all:\n\nTest name | Commit | Details | Rerun command\n--- | --- | --- | ---\npull-kubernetes-bazel-test | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-bazel-test/61446/) | `/test pull-kubernetes-bazel-test`\npull-kubernetes-bazel-build | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-bazel-build/58869/) | `/test pull-kubernetes-bazel-build`\npull-kubernetes-e2e-kops-aws | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-e2e-kops-aws/107130/) | `/test pull-kubernetes-e2e-kops-aws`\npull-kubernetes-e2e-gce | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-e2e-gce/53709/) | `/test pull-kubernetes-e2e-gce`\npull-kubernetes-e2e-gce-device-plugin-gpu | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-e2e-gce-device-plugin-gpu/48669/) | `/test pull-kubernetes-e2e-gce-device-plugin-gpu`\npull-kubernetes-typecheck | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-typecheck/25645/) | `/test pull-kubernetes-typecheck`\npull-kubernetes-integration | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-integration/28643/) | `/test pull-kubernetes-integration`\npull-kubernetes-kubemark-e2e-gce-big | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-kubemark-e2e-gce-big/23195/) | `/test pull-kubernetes-kubemark-e2e-gce-big`\npull-kubernetes-e2e-gke | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-e2e-gke/2766/) | `/test pull-kubernetes-e2e-gke`\npull-kubernetes-local-e2e-containerized | be4e22d6718467b5853bfcc3521e225cd627da9c | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/68429/pull-kubernetes-local-e2e-containerized/2763/) | `/test pull-kubernetes-local-e2e-containerized`\n\n[Full PR test history](https://k8s-gubernator.appspot.com/pr/68429). [Your PR dashboard](https://k8s-gubernator.appspot.com/pr/sudeshsh). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/kubernetes/issues?q=is:issue+is:open) when you hit one in your PR.\n\n<details>\n\nInstructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).\n</details>\n<!-- test report -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}