aboutsummaryrefslogtreecommitdiff
path: root/deploy/nomad
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/nomad')
-rw-r--r--deploy/nomad/example-seaweedfs-volume.hcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/nomad/example-seaweedfs-volume.hcl b/deploy/nomad/example-seaweedfs-volume.hcl
index 3a5fb66..145dd8b 100644
--- a/deploy/nomad/example-seaweedfs-volume.hcl
+++ b/deploy/nomad/example-seaweedfs-volume.hcl
@@ -1,4 +1,10 @@
+# id - Nomad internal ID. It is not sent to the CSI plugin but is used by Nomad for `per_alloc`
+# volume configurations, etc.
id = "example-seaweedfs-volume"
+# name - the name sent to the CSI plugin as an idempotency key and suggested volume ID. The CSI
+# spec requires the calling Container Orchestrator to respect the actual volumeId returned by the
+# CSI plugin. Nomad does this, storing it as the volume's ExternalID and using it in subsequent
+# calls to the controller and node.
name = "example-seaweedfs-volume"
type = "csi"
plugin_id = "seaweedfs"