github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/demo/csi/digitalocean/plugin.nomad (about) 1 job "digitalocean" { 2 3 datacenters = ["dc1"] 4 type = "system" 5 6 group "csi" { 7 task "plugin" { 8 driver = "docker" 9 10 config { 11 image = "digitalocean/do-csi-plugin:v2.1.1" 12 args = [ 13 "--endpoint=${CSI_ENDPOINT}", 14 "--token=${token}", 15 "--url=https://api.digitalocean.com/", 16 ] 17 18 privileged = true 19 } 20 21 csi_plugin { 22 id = "digitalocean" 23 type = "monolith" 24 mount_dir = "/csi" 25 } 26 27 resources { 28 cpu = 500 29 memory = 256 30 } 31 } 32 } 33 }