The only option I could find for rwmany on GKE is NFS, and I went with this tutorial:
The only problem is that it contains the spec
spec:
containers:
- name: nfs-server
image: k8s.gcr.io/volume-nfs:0.8
ports:
- name: nfs
containerPort: 2049
- name: mountd
containerPort: 20048
- name: rpcbind
containerPort: 111
securityContext:
privileged: true
The problem being privileged: true
. This is not allowed on AutoPilot. Any ideas how to get around this limitation?