{"action":"created","issue":{"url":"https://api.github.com/repos/appscode/voyager/issues/864","repository_url":"https://api.github.com/repos/appscode/voyager","labels_url":"https://api.github.com/repos/appscode/voyager/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/appscode/voyager/issues/864/comments","events_url":"https://api.github.com/repos/appscode/voyager/issues/864/events","html_url":"https://github.com/appscode/voyager/issues/864","id":296412151,"number":864,"title":"NodeAffinity/PodAffinity/nodeSelector are ignored when creating ReplicaSets","user":{"login":"drf","id":23150,"avatar_url":"https://avatars0.githubusercontent.com/u/23150?v=4","gravatar_id":"","url":"https://api.github.com/users/drf","html_url":"https://github.com/drf","followers_url":"https://api.github.com/users/drf/followers","following_url":"https://api.github.com/users/drf/following{/other_user}","gists_url":"https://api.github.com/users/drf/gists{/gist_id}","starred_url":"https://api.github.com/users/drf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drf/subscriptions","organizations_url":"https://api.github.com/users/drf/orgs","repos_url":"https://api.github.com/users/drf/repos","events_url":"https://api.github.com/users/drf/events{/privacy}","received_events_url":"https://api.github.com/users/drf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T15:20:20Z","updated_at":"2018-02-12T16:59:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"Trying to create a Voyager Ingress in Voyager 5.0.11 with such a thing in its spec:\r\n\r\n```yaml\r\nnodeSelector:\r\n  ingress-type: voyager\r\n```\r\n\r\nor\r\n\r\n```yaml\r\naffinity:\r\n  nodeAffinity:\r\n    requiredDuringSchedulingIgnoredDuringExecution:\r\n      nodeSelectorTerms:\r\n      - matchExpressions:\r\n        - key: ingress-type\r\n          operator: In\r\n          values:\r\n          - voyager\r\n```\r\n\r\nresults in a ReplicaSet with no information whatsoever about affinity. In the first case, nodeSelector is simply not in the ReplicaSet spec, in the second, an empty NodeAffinity map appears in the ReplicaSet."},"comment":{"url":"https://api.github.com/repos/appscode/voyager/issues/comments/364989111","html_url":"https://github.com/appscode/voyager/issues/864#issuecomment-364989111","issue_url":"https://api.github.com/repos/appscode/voyager/issues/864","id":364989111,"user":{"login":"tamalsaha","id":94814,"avatar_url":"https://avatars1.githubusercontent.com/u/94814?v=4","gravatar_id":"","url":"https://api.github.com/users/tamalsaha","html_url":"https://github.com/tamalsaha","followers_url":"https://api.github.com/users/tamalsaha/followers","following_url":"https://api.github.com/users/tamalsaha/following{/other_user}","gists_url":"https://api.github.com/users/tamalsaha/gists{/gist_id}","starred_url":"https://api.github.com/users/tamalsaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamalsaha/subscriptions","organizations_url":"https://api.github.com/users/tamalsaha/orgs","repos_url":"https://api.github.com/users/tamalsaha/repos","events_url":"https://api.github.com/users/tamalsaha/events{/privacy}","received_events_url":"https://api.github.com/users/tamalsaha/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T16:59:49Z","updated_at":"2018-02-12T16:59:49Z","author_association":"OWNER","body":"@drf, looking at the code on the master branch, this should work. If you have a test cluster, can you please install the 6.0.0-alpha.0 following the instruction \r\nhttps://github.com/appscode/voyager/blob/6.0.0-alpha.0/docs/setup/install.md ?\r\n\r\nYou will need Kubernetes 1.9, since this release uses newer features like admission webhook etc. "}}
{"actor":{"display_login":"tamalsaha"}}