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