{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd-operator/issues/335","repository_url":"https://api.github.com/repos/coreos/etcd-operator","labels_url":"https://api.github.com/repos/coreos/etcd-operator/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd-operator/issues/335/comments","events_url":"https://api.github.com/repos/coreos/etcd-operator/issues/335/events","html_url":"https://github.com/coreos/etcd-operator/issues/335","id":187326157,"number":335,"title":"integrating with kubeadm","user":{"login":"errordeveloper","id":251467,"avatar_url":"https://avatars.githubusercontent.com/u/251467?v=3","gravatar_id":"","url":"https://api.github.com/users/errordeveloper","html_url":"https://github.com/errordeveloper","followers_url":"https://api.github.com/users/errordeveloper/followers","following_url":"https://api.github.com/users/errordeveloper/following{/other_user}","gists_url":"https://api.github.com/users/errordeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/errordeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errordeveloper/subscriptions","organizations_url":"https://api.github.com/users/errordeveloper/orgs","repos_url":"https://api.github.com/users/errordeveloper/repos","events_url":"https://api.github.com/users/errordeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/errordeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"assignees":[{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-11-04T12:54:20Z","updated_at":"2016-11-23T15:38:27Z","closed_at":null,"body":"I am exploring how integration with kubeadm could work on top of what we currently have, so we can build a PoC where etcd would be pivoted from single static pod to a cluster.\r\n\r\nLet's say we want to enable a use-case where someone builds a cluster with kubeadm and get a single etcd in a static on the master, and at some point later they decide to improve the system and introduce etcd operator (perhaps this could be right after they ran kubeadm, or some number of days later and they have more then basic dataset in etcd).\r\n\r\nSo for the following to happen, I'd like to learn what is everything I need to do.\r\n\r\nHaving ran the example out of the box, I've observed that first peer gets started with the following arguments:\r\n```\r\netcd --data-dir=/var/etcd/data --name=etcd-cluster-0000\r\n      --initial-advertise-peer-urls=http://etcd-cluster-0000:2380 --listen-peer-urls=http://0.0.0.0:2380\r\n      --listen-client-urls=http://0.0.0.0:2379 --advertise-client-urls=http://etcd-cluster-0000:2379\r\n      --initial-cluster=etcd-cluster-0000=http://etcd-cluster-0000:2380 --initial-cluster-state=new\r\n      --initial-cluster-token=641d3e0b-ab95-4b62-98fc-ed2d711e4238\r\n```\r\n\r\nI would assume that adding address of existing instance to these arguments, set `--initial-cluster-state=existing` and remove `--initial-cluster-token=...`, the data would get replicated into the new cluster.\r\n\r\nNext, I'd assume that once I have enough peers, it'd be plausible to update etcd static pod and make it run in proxy mode. Perhaps we get rid of the static pod once Kubernetes API server is also happy, but it shouldn't hurt to keep it around either.\r\n\r\nDoes this sound about right or am I missing something?\r\n\r\n---- \r\n\r\nP.S.: I know static pods are to be replaced by kubelet API, but there must be a simple thing we could do that would be much easier and it would enable many users. We all know what's wrong about static pods, but for the sake of making progress, let's ignore those issues.\r\n\r\ncc @philips @justinsb @lukemarsden @jbeda"},"comment":{"url":"https://api.github.com/repos/coreos/etcd-operator/issues/comments/262549246","html_url":"https://github.com/coreos/etcd-operator/issues/335#issuecomment-262549246","issue_url":"https://api.github.com/repos/coreos/etcd-operator/issues/335","id":262549246,"user":{"login":"pires","id":1752631,"avatar_url":"https://avatars.githubusercontent.com/u/1752631?v=3","gravatar_id":"","url":"https://api.github.com/users/pires","html_url":"https://github.com/pires","followers_url":"https://api.github.com/users/pires/followers","following_url":"https://api.github.com/users/pires/following{/other_user}","gists_url":"https://api.github.com/users/pires/gists{/gist_id}","starred_url":"https://api.github.com/users/pires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pires/subscriptions","organizations_url":"https://api.github.com/users/pires/orgs","repos_url":"https://api.github.com/users/pires/repos","events_url":"https://api.github.com/users/pires/events{/privacy}","received_events_url":"https://api.github.com/users/pires/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:38:27Z","updated_at":"2016-11-23T15:38:27Z","body":"@xiang90 correct. I was just looking for how you were doing HA self-hosted. I totally understand the backup/recovery is not yet part of this solution."}}
{"actor":{"display_login":"pires"}}