{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes/autoscaler/issues/577","repository_url":"https://api.github.com/repos/kubernetes/autoscaler","labels_url":"https://api.github.com/repos/kubernetes/autoscaler/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/autoscaler/issues/577/comments","events_url":"https://api.github.com/repos/kubernetes/autoscaler/issues/577/events","html_url":"https://github.com/kubernetes/autoscaler/issues/577","id":291518896,"number":577,"title":"Disable InterPodAffinity predicate if only soft affinity is used by pods","user":{"login":"MaciekPytel","id":7901030,"avatar_url":"https://avatars2.githubusercontent.com/u/7901030?v=4","gravatar_id":"","url":"https://api.github.com/users/MaciekPytel","html_url":"https://github.com/MaciekPytel","followers_url":"https://api.github.com/users/MaciekPytel/followers","following_url":"https://api.github.com/users/MaciekPytel/following{/other_user}","gists_url":"https://api.github.com/users/MaciekPytel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciekPytel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciekPytel/subscriptions","organizations_url":"https://api.github.com/users/MaciekPytel/orgs","repos_url":"https://api.github.com/users/MaciekPytel/repos","events_url":"https://api.github.com/users/MaciekPytel/events{/privacy}","received_events_url":"https://api.github.com/users/MaciekPytel/received_events","type":"User","site_admin":false},"labels":[{"id":587167715,"url":"https://api.github.com/repos/kubernetes/autoscaler/labels/cluster-autoscaler","name":"cluster-autoscaler","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-25T10:23:42Z","updated_at":"2018-02-14T16:10:38Z","closed_at":"2018-02-14T16:10:38Z","author_association":"CONTRIBUTOR","body":"As described in #281 we disable affinity predicate (for efficiency) if no pod in the cluster is using affinity. Looking at the code it looks like we don't distinguish between soft (preferedDuringScheduling) and hard (requiredDuringScheduling) affinity. CA completely ignores soft affinity anyway, so we should only enable the predicate if at least a single pod uses hard affinity.\r\n\r\ncc: @mwielgus @aleksandra-malinowska @bskiba "}}
{"actor":{"display_login":"aleksandra-malinowska"}}