You can span a cluster over public networks if you use some kind of overlay network (like flannel), as long as the nodes can talk to the apiserver and each other.
When a node disappears (stops checking in with the apiserver), it will eventually be drained and the pods on it deleted; controllers will then create replacements that​ get scheduled onto the remaining nodes. Instead of a single cluster spanning multiple regions also consider federation to tie multiple clusters into a kind of meta-cluster. /MR On Thu, Jun 1, 2017, 08:48 <abhizersaife...@gmail.com> wrote: > Hi, > I want to deploy pods to some raspberry Pi's using Kubernetes. The > raspberry Pi would not be in same private network. Can I create a > Kubernetes cluster between device not in same private network? Is it > possible to create Kubernetes cluster between nodes over internet(public > IP). > > Also in case the above scenario is not possible and cluster can be formed > only if devices are in same private network, what happens to pods running > on a node when the node leaves the private network. After leaving the > cluster or private network, the device would also go through > restart/shutdown etc. > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.