diff --git a/nomad-job/nomad.sample b/nomad-job/nomad.sample index 702a40f..e841eb5 100644 --- a/nomad-job/nomad.sample +++ b/nomad-job/nomad.sample @@ -18,6 +18,12 @@ job "sample" { to = 0000 } } + volume "sample-data" { + type = "csi" + source = "sapmle-data" + access_mode = "multi-node-multi-writer" + attachment_mode = "file-system" + } vault{ policies= ["policy_name"] @@ -37,6 +43,10 @@ job "sample" { ] } + volume_mount { + volume = "sample-data" + destination = "/app/data" + } config { image = "sample" ports = ["http"]