apiVersion: v1
kind: Pod
metadata:
  name: access.glusterfs
  labels:
    app: access.glusterfs
spec:
  containers:
  - name: access-glusterfs
    image: gluster/gluster:latest
    command: ['sh', '-c', 'echo The app is running! && sleep 3600']
    volumeMounts:
    - name: glusterfs-mount
      mountPath: "/mnt/glusterfs/netvolume"
  volumes:
  - name: glusterfs-mount
    # hostPath:
    #  path: /tmp
    glusterfs:
      endpoints: glusterfs-default
      path: netvolume
      