You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split driver and automount; added cmd/automount-runner
automount process now runs inside its own container; it responsible
for autofs and CVMFS mounts instead of the nodeplugin container,
which is now just lean CSI server.
version=flag.Bool("version", false, "Print driver version and exit.")
33
+
34
+
hasAlienCache=flag.Bool("has-alien-cache", false, "CVMFS client is using alien cache volume")
35
+
36
+
automountDaemonUnmountAfterIdleSeconds=flag.Int("automount-unmount-timeout", 300, "number of seconds of idle time after which an autofs-managed CVMFS mount will be unmounted. '0' means never unmount, '-1' leaves automount default option.")
Copy file name to clipboardExpand all lines: cmd/csi-cvmfsplugin/main.go
+9-19Lines changed: 9 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -62,20 +62,13 @@ var (
62
62
version=flag.Bool("version", false, "Print driver version and exit.")
63
63
rolesrolesFlag
64
64
65
-
hasAlienCache=flag.Bool("has-alien-cache", false, "CVMFS client is using alien cache volume")
66
-
startAutomountDaemon=flag.Bool("start-automount-daemon", true, "start automount daemon when initializing CVMFS CSI driver")
65
+
hasAlienCache=flag.Bool("has-alien-cache", false, "(DEPRECATED: use automount-runner --has-alien-cache) CVMFS client is using alien cache volume")
66
+
startAutomountDaemon=flag.Bool("start-automount-daemon", true, "(DEPRECATED: use automount-runner) start automount daemon when initializing CVMFS CSI driver")
67
67
68
-
automountDaemonStartupTimeoutSeconds=flag.Int("automount-startup-timeout", 5, "number of seconds to wait for automount daemon to start up before exiting")
69
-
automountDaemonUnmountAfterIdleSeconds=flag.Int("automount-unmount-timeout", -1, "number of seconds of idle time after which an autofs-managed CVMFS mount will be unmounted. '0' means never unmount, '-1' leaves automount default option.")
68
+
automountDaemonStartupTimeoutSeconds=flag.Int("automount-startup-timeout", 10, "number of seconds to wait for automount daemon to start up before giving up and exiting. '0' means wait forever")
69
+
automountDaemonUnmountAfterIdleSeconds=flag.Int("automount-unmount-timeout", 300, "(DEPRECATED: use automount-runner --unmount-timeout) number of seconds of idle time after which an autofs-managed CVMFS mount will be unmounted. '0' means never unmount, '-1' leaves automount default option.")
0 commit comments