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:
Henrik Jess Nielsen
2026-05-26 23:22:55 +02:00
commit 90ff2f2480
4 changed files with 207 additions and 0 deletions

14
csi/volumes/example.hcl Normal file
View 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"
}