nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests |Archive

data-volume.hcl (650B)


      1 # Register external nfs volume with Nomad CSI
      2 # https://www.nomadproject.io/docs/commands/volume/register
      3 type = "csi"
      4 # Unique ID of the volume, volume.source field in a job
      5 id = "silverbullet"
      6 # Display name of the volume.
      7 name = "silverbullet"
      8 # ID of the physical volume from the storage provider
      9 external_id = "csi-silverbullet"
     10 plugin_id = "rocketduck"
     11 
     12 # You must provide at least one capability block
     13 # You must provide a block for each capability
     14 # youintend to use in a job's volume block
     15 # https://www.nomadproject.io/docs/commands/volume/register
     16 capability {
     17   access_mode = "multi-node-multi-writer"
     18   attachment_mode = "file-system"
     19 }