mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-12-01 12:36:13 +01:00
776a450903
Signed-off-by: Magic_RB <magic_rb@redalder.org>
32 lines
484 B
HCL
32 lines
484 B
HCL
job "plugin-nfs-controller" {
|
|
datacenters = [ "homelab-1" ]
|
|
|
|
group "controller" {
|
|
task "plugin" {
|
|
driver = "docker"
|
|
|
|
config {
|
|
image = "mcr.microsoft.com/k8s/csi/nfs-csi:latest" # "csi-driver-nfs:local"
|
|
|
|
args = [
|
|
"--endpoint=unix://csi/csi.sock",
|
|
"--nodeid=contoller",
|
|
"--logtostderr",
|
|
"-v=5",
|
|
]
|
|
}
|
|
|
|
csi_plugin {
|
|
id = "nfs"
|
|
type = "controller"
|
|
mount_dir = "/csi"
|
|
}
|
|
|
|
resources {
|
|
cpu = 250
|
|
memory = 128
|
|
}
|
|
}
|
|
}
|
|
}
|