{"action":"created","issue":{"url":"https://api.github.com/repos/weibocom/motan/issues/757","repository_url":"https://api.github.com/repos/weibocom/motan","labels_url":"https://api.github.com/repos/weibocom/motan/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/weibocom/motan/issues/757/comments","events_url":"https://api.github.com/repos/weibocom/motan/issues/757/events","html_url":"https://github.com/weibocom/motan/issues/757","id":361099399,"node_id":"MDU6SXNzdWUzNjEwOTkzOTk=","number":757,"title":"我想问下motan和Kubernetes可以无缝集成吗？","user":{"login":"weichuyu","id":28186187,"node_id":"MDQ6VXNlcjI4MTg2MTg3","avatar_url":"https://avatars2.githubusercontent.com/u/28186187?v=4","gravatar_id":"","url":"https://api.github.com/users/weichuyu","html_url":"https://github.com/weichuyu","followers_url":"https://api.github.com/users/weichuyu/followers","following_url":"https://api.github.com/users/weichuyu/following{/other_user}","gists_url":"https://api.github.com/users/weichuyu/gists{/gist_id}","starred_url":"https://api.github.com/users/weichuyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weichuyu/subscriptions","organizations_url":"https://api.github.com/users/weichuyu/orgs","repos_url":"https://api.github.com/users/weichuyu/repos","events_url":"https://api.github.com/users/weichuyu/events{/privacy}","received_events_url":"https://api.github.com/users/weichuyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-18T01:14:30Z","updated_at":"2018-09-18T04:08:18Z","closed_at":null,"author_association":"NONE","body":"老师，您好\r\n1.我所在的小公司一直在使用motan作为分布式框架\r\n2.目前 公司打算 用 Kubernetes 来管理 motanService\r\n3.但2018-9-18 试验时发现 motanService在K8S容器里面启动后，往zookeeper注册的ip是容器的ip\r\n（web没有部署在K8S中）\r\n4. 我想问一下老师，motan和Kubernetes需要 额外的配置 或者 引用额外的插件吗？"},"comment":{"url":"https://api.github.com/repos/weibocom/motan/issues/comments/422248772","html_url":"https://github.com/weibocom/motan/issues/757#issuecomment-422248772","issue_url":"https://api.github.com/repos/weibocom/motan/issues/757","id":422248772,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjI0ODc3Mg==","user":{"login":"rayzhang0603","id":2917437,"node_id":"MDQ6VXNlcjI5MTc0Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/2917437?v=4","gravatar_id":"","url":"https://api.github.com/users/rayzhang0603","html_url":"https://github.com/rayzhang0603","followers_url":"https://api.github.com/users/rayzhang0603/followers","following_url":"https://api.github.com/users/rayzhang0603/following{/other_user}","gists_url":"https://api.github.com/users/rayzhang0603/gists{/gist_id}","starred_url":"https://api.github.com/users/rayzhang0603/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayzhang0603/subscriptions","organizations_url":"https://api.github.com/users/rayzhang0603/orgs","repos_url":"https://api.github.com/users/rayzhang0603/repos","events_url":"https://api.github.com/users/rayzhang0603/events{/privacy}","received_events_url":"https://api.github.com/users/rayzhang0603/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T04:08:18Z","updated_at":"2018-09-18T04:08:18Z","author_association":"COLLABORATOR","body":"motan获取ip的规则是`hostname对应的ip --> 根据连接目标端口得到的本地ip --> 轮询网卡`，可以通过配置容器的hostname对应ip，把外部可访问的正确ip地址注册到zk"}}
{"actor":{"display_login":"rayzhang0603"}}