cluster/infrastructure/plugin-nfs/nfs-controller.hcl
Magic_RB 776a450903
A lot of clean up
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-05-02 15:59:38 +02:00

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