Hi Jerry,

With a Daemonset, all instances share the same PVC, so you need to use some
multi writer storage like NFS.

If you want each instance to get a different volume, then you can use
Statefulset's volumeClaimTemplates.

On Thu, Apr 19, 2018, 21:57 Jerry Hwang <special...@gmail.com> wrote:

> Hello,
>
> I deployed storageclass and pvc and then deployed daemonset (4 pods) to
> use it, however I noticed the pvc was only mounted by a pod, the other 3
> pods were not able to use it.
>
> Anyone has experienced it and found a way around to make sc/pvc available
> to all pods in daemonset?
>
> Thanks,
> J
>
> --
> 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.

Reply via email to