{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-docs/issues/727","labels_url":"https://api.github.com/repos/openshift/openshift-docs/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-docs/issues/727/comments","events_url":"https://api.github.com/repos/openshift/openshift-docs/issues/727/events","html_url":"https://github.com/openshift/openshift-docs/issues/727","id":94302408,"number":727,"title":"Need more description about `LabelsPresence` predicate","user":{"login":"nak3","id":2138339,"avatar_url":"https://avatars.githubusercontent.com/u/2138339?v=3","gravatar_id":"","url":"https://api.github.com/users/nak3","html_url":"https://github.com/nak3","followers_url":"https://api.github.com/users/nak3/followers","following_url":"https://api.github.com/users/nak3/following{/other_user}","gists_url":"https://api.github.com/users/nak3/gists{/gist_id}","starred_url":"https://api.github.com/users/nak3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nak3/subscriptions","organizations_url":"https://api.github.com/users/nak3/orgs","repos_url":"https://api.github.com/users/nak3/repos","events_url":"https://api.github.com/users/nak3/events{/privacy}","received_events_url":"https://api.github.com/users/nak3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/openshift-docs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T12:58:46Z","updated_at":"2015-10-13T06:38:22Z","closed_at":"2015-10-13T06:38:22Z","body":"https://docs.openshift.com/enterprise/3.0/admin_guide/scheduler.html#configurable-predicates\r\n\r\n> LabelsPresence checks whether a particular node has a certain label defined or not, regardless of its value.\r\n\r\nPlease add explanation about `presense` false or true. \r\n~~~\r\nIf \"presence\" is false, then returns false if any of the requested labels matches any of the minion's labels,\r\notherwise returns true.\r\nIf \"presence\" is true, then returns false if any of the requested labels does not match any of the minion's labels,\r\notherwise returns true.\r\n~~~\r\n\r\nI correct wrong example https://github.com/openshift/openshift-docs/pull/726\r\n\r\n(Please refer)\r\nhttps://github.com/openshift/origin/blob/v1.0.1/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/algorithm/predicates/predicates.go#L213-L224"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-docs/issues/comments/147619670","html_url":"https://github.com/openshift/openshift-docs/issues/727#issuecomment-147619670","issue_url":"https://api.github.com/repos/openshift/openshift-docs/issues/727","id":147619670,"user":{"login":"tpoitras","id":8109928,"avatar_url":"https://avatars.githubusercontent.com/u/8109928?v=3","gravatar_id":"","url":"https://api.github.com/users/tpoitras","html_url":"https://github.com/tpoitras","followers_url":"https://api.github.com/users/tpoitras/followers","following_url":"https://api.github.com/users/tpoitras/following{/other_user}","gists_url":"https://api.github.com/users/tpoitras/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoitras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoitras/subscriptions","organizations_url":"https://api.github.com/users/tpoitras/orgs","repos_url":"https://api.github.com/users/tpoitras/repos","events_url":"https://api.github.com/users/tpoitras/events{/privacy}","received_events_url":"https://api.github.com/users/tpoitras/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T06:38:22Z","updated_at":"2015-10-13T06:38:22Z","body":"fixed in PR727\r\n\r\nhttps://github.com/openshift/openshift-docs/pull/1072"}}