github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/volumes/glusterfs/glusterfs-pod.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: glusterfs
     5  spec:
     6    containers:
     7    - name: glusterfs
     8      image: nginx
     9      volumeMounts:
    10      - mountPath: "/mnt/glusterfs"
    11        name: glusterfsvol
    12    volumes:
    13    - name: glusterfsvol
    14      glusterfs:
    15        endpoints: glusterfs-cluster
    16        path: kube_vol
    17        readOnly: true