{"action":"created","issue":{"url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/330","repository_url":"https://api.github.com/repos/cloudnativelabs/kube-router","labels_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/330/comments","events_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/330/events","html_url":"https://github.com/cloudnativelabs/kube-router/issues/330","id":303145653,"number":330,"title":"kube-router is incompatible to cni v0.6.0 multi subnets","user":{"login":"Thoro","id":554474,"avatar_url":"https://avatars1.githubusercontent.com/u/554474?v=4","gravatar_id":"","url":"https://api.github.com/users/Thoro","html_url":"https://github.com/Thoro","followers_url":"https://api.github.com/users/Thoro/followers","following_url":"https://api.github.com/users/Thoro/following{/other_user}","gists_url":"https://api.github.com/users/Thoro/gists{/gist_id}","starred_url":"https://api.github.com/users/Thoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thoro/subscriptions","organizations_url":"https://api.github.com/users/Thoro/orgs","repos_url":"https://api.github.com/users/Thoro/repos","events_url":"https://api.github.com/users/Thoro/events{/privacy}","received_events_url":"https://api.github.com/users/Thoro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-07T15:34:57Z","updated_at":"2018-03-07T15:42:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In cni 0.6.0 you can have multiple subnets for the cni config:\r\n\r\n```\r\n{\"bridge\":\"kube-bridge\",\"ipam\":{\"ranges\":[[{\"gateway\":\"10.253.12.1\",\"subnet\":\"10.253.12.0/24\"}],[{\"gateway\":\"2a0b:37c0:1:100c::1\",\"subnet\":\"2a0b:37c0:1:100c::/64\"}]],\"type\":\"host-local\"},\"isDefaultGateway\":true,\"name\":\"mynet\",\"type\":\"bridge\"}\r\n```\r\n\r\nInstead of editing the sub range, kube-router adds a new subnet field.\r\n\r\n```\r\n\r\n{\"bridge\":\"kube-bridge\",\"ipam\":{\"ranges\":[[{\"gateway\":\"10.253.12.1\",\"subnet\":\"10.253.12.0/24\"}],[{\"gateway\":\"2a0b:37c0:1:100c::1\",\"subnet\":\"2a0b:37c0:1:100c::/64\"}]],\"subnet\":\"10.253.12.0/24\",\"type\":\"host-local\"},\"isDefaultGateway\":true,\"name\":\"mynet\",\"type\":\"bridge\"}\r\n```\r\n\r\nWhich means that pods can't be started anymore, because that config file is invalid."},"comment":{"url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/comments/371180013","html_url":"https://github.com/cloudnativelabs/kube-router/issues/330#issuecomment-371180013","issue_url":"https://api.github.com/repos/cloudnativelabs/kube-router/issues/330","id":371180013,"user":{"login":"Thoro","id":554474,"avatar_url":"https://avatars1.githubusercontent.com/u/554474?v=4","gravatar_id":"","url":"https://api.github.com/users/Thoro","html_url":"https://github.com/Thoro","followers_url":"https://api.github.com/users/Thoro/followers","following_url":"https://api.github.com/users/Thoro/following{/other_user}","gists_url":"https://api.github.com/users/Thoro/gists{/gist_id}","starred_url":"https://api.github.com/users/Thoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thoro/subscriptions","organizations_url":"https://api.github.com/users/Thoro/orgs","repos_url":"https://api.github.com/users/Thoro/repos","events_url":"https://api.github.com/users/Thoro/events{/privacy}","received_events_url":"https://api.github.com/users/Thoro/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T15:42:15Z","updated_at":"2018-03-07T15:42:15Z","author_association":"CONTRIBUTOR","body":"probably because nobody was so stupid and configure ipv6 directly in the ipam module :D "}}
{"actor":{"display_login":"Thoro"}}