It all depends on how you have your volume mounts set up. If your pods are just mounting local storage, then they won't be able to see each other's files. However, there are several options for having multiple pods mount the same shared folder: NFS, GlusterFS, Ceph, etc. Read here: https://kubernetes.io/docs/concepts/storage/volumes/ and here: https://kubernetes.io/docs/concepts/storage/persistent-volumes/

HTH,

DR

On 05/16/2018 04:22 AM, 我是KY K wrote:
Suppose there's a deployment with 2 replicas , podA and podB without mount
any volume.

there's 2 Users connection which is reqA connect to podA , reqB connect to
podB.

reqA uploaded an image file into the podA ,Does the user reqB which is
connect to  podB can see this image?

How do podA and podB communicate?


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