I have been going through documentation but it does not really go into
depth for me to understand how does persistent volumes work with pod/node
failovers.
Let me explain the questions I am having

Let's say I have a cluster on EC2 with 2 minions.
Since a single EBS volume can be mounted only on one EC2 instance, I need
to create 2 EBS volumes (lets say 50GB each).

If I have 10 pods each requiring 10GB space, my understanding is that k8s
will randomly schedule these on 2 minions.

1. Question is, how does fail-over work? If a docker fails, is it started
on same node with exact same PVC? If it moves over to the other minion, EBS
cannot move with it (Since 50GB EBS is mounted on minion1 and 4 other pods
are using rest of 40GB). Does it mean any failed pods/dockers MUST be
started on same node?

2. Since EBS can only be mounted within same zone, multi zone setup
essentially means EBS can not be used. EFS is too costly and also have low
shared bandwidth. So EFS is not viable. What do we use then?

Is there any article / documentation going into details of how to make
persistent storage work?

thanks
Ravi

-- 
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.

Reply via email to