- 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
15 lines
378 B
HCL
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"
|
|
}
|