coreos-stack-bootstrap
coreos-stack-bootstrap copied to clipboard
Configure method for ongoing discovery of apiserver by kubelet
Need a method for kubelet to find kube-apiserver, in a way that allows the kube-apiserver to move among hosts.
Options for the discovery part:
- Use an additional private IP. Distribute a private IP to all instances running
kubelet, then attach the IP as a secondary private IP to the host that ends up running thekube-apiserver. - Use an internal ELB between the
kubeletand thekube-apiserver. - Use VPC-private DNS and register the host that
kube-apiserverlands on at a pre-shared address (e.g.,$STACK_NAME-kube-apiserver.example.com). - Use SkyDNS, either on every host, just services hosts, or just one host. If not global, then some additional method of following DNS servers will be needed (EIP, ELB).