{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/49186","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/49186/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/49186/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/49186/events","html_url":"https://github.com/kubernetes/kubernetes/pull/49186","id":243948272,"number":49186,"title":"CPU manager phase 1","user":{"login":"ConnorDoyle","id":379372,"avatar_url":"https://avatars3.githubusercontent.com/u/379372?v=4","gravatar_id":"","url":"https://api.github.com/users/ConnorDoyle","html_url":"https://github.com/ConnorDoyle","followers_url":"https://api.github.com/users/ConnorDoyle/followers","following_url":"https://api.github.com/users/ConnorDoyle/following{/other_user}","gists_url":"https://api.github.com/users/ConnorDoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorDoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorDoyle/subscriptions","organizations_url":"https://api.github.com/users/ConnorDoyle/orgs","repos_url":"https://api.github.com/users/ConnorDoyle/repos","events_url":"https://api.github.com/users/ConnorDoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorDoyle/received_events","type":"User","site_admin":false},"labels":[{"id":477397086,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":261005360,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/api-change","name":"kind/api-change","color":"c7def8","default":false},{"id":200149833,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":253451093,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars3.githubusercontent.com/u/6233452?v=4","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"assignees":[{"login":"sjenning","id":493891,"avatar_url":"https://avatars2.githubusercontent.com/u/493891?v=4","gravatar_id":"","url":"https://api.github.com/users/sjenning","html_url":"https://github.com/sjenning","followers_url":"https://api.github.com/users/sjenning/followers","following_url":"https://api.github.com/users/sjenning/following{/other_user}","gists_url":"https://api.github.com/users/sjenning/gists{/gist_id}","starred_url":"https://api.github.com/users/sjenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjenning/subscriptions","organizations_url":"https://api.github.com/users/sjenning/orgs","repos_url":"https://api.github.com/users/sjenning/repos","events_url":"https://api.github.com/users/sjenning/events{/privacy}","received_events_url":"https://api.github.com/users/sjenning/received_events","type":"User","site_admin":false},{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars3.githubusercontent.com/u/6233452?v=4","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},{"login":"vishh","id":7063592,"avatar_url":"https://avatars2.githubusercontent.com/u/7063592?v=4","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2017-07-19T07:35:30Z","updated_at":"2017-08-21T18:54:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/49186","html_url":"https://github.com/kubernetes/kubernetes/pull/49186","diff_url":"https://github.com/kubernetes/kubernetes/pull/49186.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/49186.patch"},"body":"**What this PR does / why we need it**:\r\n* Implements phases 1 and 2 of the [CPU manager design proposal](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/cpu-manager.md). Implements the _none_ and _static_ cpu pinning policies.\r\n\r\nE2e tests are in progress and will be added in a subsequent PR.\r\nUser / operator docs for `kubernetes/kubernetes.github.io` are in progress.\r\n\r\n**Release note**:\r\n<!--  Steps to write your release note:\r\n1. Use the release-note-* labels to set the release note state (if you have access)\r\n2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.\r\n-->\r\n```release-note\r\nTODO\r\n```\r\n\r\nStarting the following three pods in order on an 8-core single socket system:\r\n\r\n**cpuset-visualizer-exclusive-1**\r\n\r\n```yaml\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: cpuset-visualizer-exclusive-1\r\nspec:\r\n  containers:\r\n  - image: quay.io/connordoyle/cpuset-visualizer\r\n    name: cpuset-visualizer-exclusive-1\r\n    resources:\r\n      requests:\r\n        cpu: 1\r\n        memory: \"256M\"\r\n      limits:\r\n        cpu: 1\r\n        memory: \"256M\"\r\n```\r\n\r\n**cpuset-visualizer-exclusive-3**\r\n\r\n```yaml\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: cpuset-visualizer-exclusive-3\r\nspec:\r\n  containers:\r\n  - image: quay.io/connordoyle/cpuset-visualizer\r\n    name: cpuset-visualizer-exclusive-3\r\n    resources:\r\n      requests:\r\n        cpu: 3\r\n        memory: \"256M\"\r\n      limits:\r\n        cpu: 3\r\n        memory: \"256M\"\r\n```\r\n\r\n**cpuset-visualizer-exclusive-4**\r\n\r\n```yaml\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: cpuset-visualizer-exclusive-4\r\nspec:\r\n  containers:\r\n  - image: quay.io/connordoyle/cpuset-visualizer\r\n    name: cpuset-visualizer-exclusive-4\r\n    resources:\r\n      requests:\r\n        cpu: 3\r\n        memory: \"256M\"\r\n      limits:\r\n        cpu: 3\r\n        memory: \"256M\"\r\n```\r\n\r\nGave the following allocations. Note that cpu `0` was not used for pods in this case, per kube-reserved and system-reserved as described in the proposal.\r\n\r\n![topo-order](https://user-images.githubusercontent.com/379372/28298839-774afde4-6b2a-11e7-9f42-4b325ab1edf4.png)\r\n\r\ncc @sjenning @flyingcougar @nqn @teferi @vishh"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/323822863","html_url":"https://github.com/kubernetes/kubernetes/pull/49186#issuecomment-323822863","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/49186","id":323822863,"user":{"login":"k8s-ci-robot","id":20407524,"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":"2017-08-21T18:54:27Z","updated_at":"2017-08-21T18:54:27Z","body":"@ConnorDoyle: The following test **failed**, say `/retest` to rerun them all:\n\nTest name | Commit | Details | Rerun command\n--- | --- | --- | ---\npull-kubernetes-bazel | aecd55ff5b38ff2d827e25f0e0436697e6fc4e2d | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/49186/pull-kubernetes-bazel/37123/) | `/test pull-kubernetes-bazel`\n\n[Full PR test history](https://k8s-gubernator.appspot.com/pr/49186). [Your PR dashboard](https://k8s-gubernator.appspot.com/pr/ConnorDoyle). Please help us cut down on flakes by [linking to](https://github.com/kubernetes/community/blob/master/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://github.com/kubernetes/community/blob/master/contributors/devel/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://github.com/kubernetes/test-infra/blob/master/commands.md).\n</details>\n<!-- test report -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}