Posts

Showing posts with the label google-kubernetes-engine

Share data between pods in ReadMany mode and allow to write only for one host(WriteOnce)

Share data between pods in ReadMany mode and allow to write only for one host(WriteOnce) We've got to write files from one host in a shared storage and share these files between many pods in read only state . Like this: writer -> shared storage <- pod_reader_nth I tried to use Google Persistent Storage , but k8s doesn't allow to mix ReadMany and WriteOnce. Is there any way to solve this issue simple, like use some SaaS solution and don't use CephFS/GlusterFS/NFS? inb4: Tried Google Cloud Storage buckets, but got degraded performance when wrote a lot of files. All volume types are listed at this link. When using ReadWriteMany to Persistent Volumes, you are limited to these options at this link. According to the same document “ a volume can only be mounted using one access mode at a time, even if it supports many.” This is true for all volume plugins listed, and not only GCEPersistentDisk. Unfortunately I can not think of an alternative easi...