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
This commit is contained in:
14
csi/volumes/example.hcl
Normal file
14
csi/volumes/example.hcl
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user