github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/demo/csi/kadalu-csi/volume.hcl (about) 1 # Unfortunately 'variable' interpolation isn't supported in volume spec 2 # so, parameters has to be supplied again 3 4 id = "csi-test" 5 6 name = "csi-test" 7 8 type = "csi" 9 10 plugin_id = "kadalu-csi" 11 12 capacity_min = "200M" 13 14 capacity_max = "1G" 15 16 capability { 17 access_mode = "multi-node-multi-writer" 18 attachment_mode = "file-system" 19 } 20 21 parameters { 22 kadalu_format = "native" 23 24 # Below parameters needs to be replaced correctly based on 25 # json file supplied during controller/nodeplugin job 26 storage_name = "POOL" 27 28 gluster_hosts = "GHOST" 29 gluster_volname = "GVOL" 30 }