aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGradlon von Känel <gradlon@integral-systems.ch>2024-07-14 12:10:32 +0200
committerChris Lu <chrislusf@users.noreply.github.com>2024-07-18 09:02:27 -0700
commitd7cc217a1bbcfeb15565c462c7ae1538c43c05db (patch)
tree296e68043aeecb34e8daa878e20f1252cb6107a1
parent6129d9ca744aba3e2d8559f073424f227eb56f91 (diff)
downloadseaweedfs-csi-driver-d7cc217a1bbcfeb15565c462c7ae1538c43c05db.tar.xz
seaweedfs-csi-driver-d7cc217a1bbcfeb15565c462c7ae1538c43c05db.zip
adde cache mount
-rw-r--r--cmd/seaweedfs-csi-driver/swarm/config.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/seaweedfs-csi-driver/swarm/config.json b/cmd/seaweedfs-csi-driver/swarm/config.json
index 3fc5445..2cefa66 100644
--- a/cmd/seaweedfs-csi-driver/swarm/config.json
+++ b/cmd/seaweedfs-csi-driver/swarm/config.json
@@ -82,10 +82,18 @@
},
"mounts": [
{
+ "description": "used to get the nodename",
"destination": "/node_hostname",
"source": "/etc/hostname",
"type": "bind",
"options":["bind"]
+ },
+ {
+ "description": "used for caching",
+ "destination": "/tmp",
+ "source": "/tmp",
+ "type": "bind",
+ "options":["bind"]
}
],
"network": {