{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/437","labels_url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/437/comments","events_url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/437/events","html_url":"https://github.com/mesosphere/kubernetes-mesos/issues/437","id":101650187,"number":437,"title":"[e2e] Enforce pod resource limits","user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/integration/k8s","name":"integration/k8s","color":"fbca04"},{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/integration/mesos","name":"integration/mesos","color":"fff5d0"},{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/tests/conformance","name":"tests/conformance","color":"bfdadc"},{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/tests/e2e","name":"tests/e2e","color":"bfdadc"},{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/labels/WIP","name":"WIP","color":"ff80d0"}],"state":"open","locked":false,"assignee":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/milestones/7","html_url":"https://github.com/mesosphere/kubernetes-mesos/milestones/EPIC:%20v1.0.x%20Conformance","labels_url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/milestones/7/labels","id":1019561,"number":7,"title":"EPIC: v1.0.x Conformance","description":"- upstream all major components into k8s","creator":{"login":"jdef","id":2348332,"avatar_url":"https://avatars.githubusercontent.com/u/2348332?v=3","gravatar_id":"","url":"https://api.github.com/users/jdef","html_url":"https://github.com/jdef","followers_url":"https://api.github.com/users/jdef/followers","following_url":"https://api.github.com/users/jdef/following{/other_user}","gists_url":"https://api.github.com/users/jdef/gists{/gist_id}","starred_url":"https://api.github.com/users/jdef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdef/subscriptions","organizations_url":"https://api.github.com/users/jdef/orgs","repos_url":"https://api.github.com/users/jdef/repos","events_url":"https://api.github.com/users/jdef/events{/privacy}","received_events_url":"https://api.github.com/users/jdef/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":49,"state":"open","created_at":"2015-03-12T23:06:02Z","updated_at":"2015-09-14T17:51:57Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-08-18T13:01:10Z","updated_at":"2015-09-15T16:18:38Z","closed_at":null,"body":"```\r\n[Fail] SchedulerPredicates [It] validates resource limits of pods that are allowed to run.\r\n/Users/sts/Quellen/mesos/kubernetes/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:86\r\n```\r\n\r\n**Analysis**:\r\n\r\nThe e2e tests use Nodes.Status.Capacity to calculate how many pods with cpu limit 0.1 can be deployed. They expect that the next pod must fail.\r\n\r\nIn the case of Mesos the capacity of a k8s node is just the raw capacity and strictly larger than the resources Mesos offers. This is because the master itself and the executor also reserve some amount of resources and the e2e expect those to be free."},"comment":{"url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/comments/140449062","html_url":"https://github.com/mesosphere/kubernetes-mesos/issues/437#issuecomment-140449062","issue_url":"https://api.github.com/repos/mesosphere/kubernetes-mesos/issues/437","id":140449062,"user":{"login":"sttts","id":730123,"avatar_url":"https://avatars.githubusercontent.com/u/730123?v=3","gravatar_id":"","url":"https://api.github.com/users/sttts","html_url":"https://github.com/sttts","followers_url":"https://api.github.com/users/sttts/followers","following_url":"https://api.github.com/users/sttts/following{/other_user}","gists_url":"https://api.github.com/users/sttts/gists{/gist_id}","starred_url":"https://api.github.com/users/sttts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttts/subscriptions","organizations_url":"https://api.github.com/users/sttts/orgs","repos_url":"https://api.github.com/users/sttts/repos","events_url":"https://api.github.com/users/sttts/events{/privacy}","received_events_url":"https://api.github.com/users/sttts/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T16:18:38Z","updated_at":"2015-09-15T16:18:38Z","body":"In other words: Mesos is a dynamic environment in the eyes of a framework, not static as for the kubelet on a cluster without load."}}