Files
nomad-csi/csi/volumes/example.hcl
Henrik Jess Nielsen 90ff2f2480 Initial CSI setup — democratic-csi + NFS on int
- controller.nomad: CSI controller pinned to int
- node.nomad: CSI node plugin (int only for now, expand later)
- volumes/example.hcl: template for creating new volumes

NFS: int exports /opt/csi-volumes to 192.168.15.0/24
Plugin ID: org.democratic-csi.nfs
2026-05-26 23:22:55 +02:00

15 lines
378 B
HCL

# Example: create a named CSI volume for use in pipelines
# Usage: nomad volume create nomad-jobs/csi/example-volume.hcl
#
id = "my-app-data"
name = "my-app-data"
type = "csi"
plugin_id = "org.democratic-csi.nfs"
capacity_min = "1GiB"
capacity_max = "50GiB"
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}