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"
|
||
|
|
}
|