github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/demo/csi/digitalocean/README.md (about) 1 # CSI on DigitalOcean 2 3 This is a Terraform demo for deploying CSI volumes on DigitalOcean. It 4 asssumes you already have a Nomad cluster running with the Docker task 5 driver. You will need a DigitalOcean account and a DigitalOcean API key. 6 7 Deploy the demo: 8 9 ``` 10 export NOMAD_ADDR=http://${IP_ADDRESS}:4646 11 terraform apply -var do_token=${DIGITALOCEAN_TOKEN} 12 ``` 13 14 See the volume is registered: 15 16 ``` 17 $ nomad volume status nomad-csi 18 ID = nomad-csi-test 19 Name = nomad-csi-test 20 External ID = 58c4ef75-25d1-11eb-a381-0a58ac1449b9 21 Plugin ID = digitalocean 22 Provider = dobs.csi.digitalocean.com 23 Version = v2.1.1 24 Schedulable = true 25 Controllers Healthy = 1 26 Controllers Expected = 1 27 Nodes Healthy = 1 28 Nodes Expected = 1 29 Access Mode = single-node-writer 30 Attachment Mode = block-device 31 Mount Options = <none> 32 Namespace = default 33 34 Allocations 35 ID Node ID Task Group Version Desired Status Created Modified 36 8d223dc7 ce46add9 cache 0 run running 21s ago 3s ago 37 ```