This commit is contained in:
2026-02-07 16:34:17 -08:00
commit 11ebd95956
6 changed files with 437 additions and 0 deletions

38
juicefs-controller.nomad Normal file
View File

@@ -0,0 +1,38 @@
job "jfs-controller" {
datacenters = ["dc1"]
type = "system"
group "controller" {
task "plugin" {
driver = "docker"
config {
image = "juicedata/juicefs-csi-driver:v0.31.1"
args = [
"--endpoint=unix://csi/csi.sock",
"--logtostderr",
"--nodeid=test",
"--v=5",
"--by-process=true"
]
privileged = true
}
csi_plugin {
id = "juicefs0"
type = "controller"
mount_dir = "/csi"
}
resources {
cpu = 100
memory = 512
}
env {
POD_NAME = "csi-controller"
POD_NAMESPACE = "default"
}
}
}
}