{"action":"created","issue":{"url":"https://api.github.com/repos/k8sp/auto-install/issues/73","repository_url":"https://api.github.com/repos/k8sp/auto-install","labels_url":"https://api.github.com/repos/k8sp/auto-install/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/k8sp/auto-install/issues/73/comments","events_url":"https://api.github.com/repos/k8sp/auto-install/issues/73/events","html_url":"https://github.com/k8sp/auto-install/issues/73","id":168791409,"number":73,"title":"网络环境中已存在DHCP服务的情况下，如何使用另一个DHCP服务自动安装k8s集群","user":{"login":"typhoonzero","id":13348433,"avatar_url":"https://avatars.githubusercontent.com/u/13348433?v=3","gravatar_id":"","url":"https://api.github.com/users/typhoonzero","html_url":"https://github.com/typhoonzero","followers_url":"https://api.github.com/users/typhoonzero/followers","following_url":"https://api.github.com/users/typhoonzero/following{/other_user}","gists_url":"https://api.github.com/users/typhoonzero/gists{/gist_id}","starred_url":"https://api.github.com/users/typhoonzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typhoonzero/subscriptions","organizations_url":"https://api.github.com/users/typhoonzero/orgs","repos_url":"https://api.github.com/users/typhoonzero/repos","events_url":"https://api.github.com/users/typhoonzero/events{/privacy}","received_events_url":"https://api.github.com/users/typhoonzero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-02T03:26:07Z","updated_at":"2016-08-05T07:39:49Z","closed_at":null,"body":"如题，k8s集群的部署环境会基于某些已经存在DHCP服务的集群环境，比如云知声的环境和百分点的环境。所以需要一种方式，能避免k8s集群自动安装后自动分配的IP和现有已存在的环境发生冲突。现有的方案和想法：\r\n\r\n1. 将k8s集群和现有的集群物理隔开\r\n1. 使用DHCP，将第一次分配给同一MAC地址的IP，之后始终分配给这个MAC地址\r\n1. 使用DHCP作为安装过程引导的IP自动分配，安装过程使用DHCP客户端或自定义的分配IP的程序完成IP的分配，并配置成为静态IP，之后的系统重启就不会再访问DHCP服务了"},"comment":{"url":"https://api.github.com/repos/k8sp/auto-install/issues/comments/237778442","html_url":"https://github.com/k8sp/auto-install/issues/73#issuecomment-237778442","issue_url":"https://api.github.com/repos/k8sp/auto-install/issues/73","id":237778442,"user":{"login":"typhoonzero","id":13348433,"avatar_url":"https://avatars.githubusercontent.com/u/13348433?v=3","gravatar_id":"","url":"https://api.github.com/users/typhoonzero","html_url":"https://github.com/typhoonzero","followers_url":"https://api.github.com/users/typhoonzero/followers","following_url":"https://api.github.com/users/typhoonzero/following{/other_user}","gists_url":"https://api.github.com/users/typhoonzero/gists{/gist_id}","starred_url":"https://api.github.com/users/typhoonzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typhoonzero/subscriptions","organizations_url":"https://api.github.com/users/typhoonzero/orgs","repos_url":"https://api.github.com/users/typhoonzero/repos","events_url":"https://api.github.com/users/typhoonzero/events{/privacy}","received_events_url":"https://api.github.com/users/typhoonzero/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T07:39:49Z","updated_at":"2016-08-05T07:39:49Z","body":"会将IP生成和cert生成（https://github.com/k8sp/auto-install/pull/71），解藕，并独立座位两个功能。\r\n\r\nIP生成可采用上述方法2 。在cc中定义一个unit(systemd service)，使用一个脚本或程序，完成检查SkyDNS中的记录，有责恢复，无则生成。\r\n\r\n后续的操作将依赖这个服务即可保持唯一的ip"}}
{"actor":{"display_login":"typhoonzero"}}