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
refactor: simplify mount configuration by removing STORAGE_CLASS_DAEMONSET flag
- Remove separate STORAGE_CLASS_DAEMONSET environment variable
- DaemonSet mode is now automatically available when STORAGE_CLASS_SHARE_MOUNT is enabled
- Changed LoadDaemonSetNodeAffinity to assert mount sharing is enabled rather than conditionally check
- Updated documentation to reflect the simplified configuration
- Updated all tests to work without the removed flag
This simplifies the configuration model - when mount sharing is enabled,
users can choose between shared-pod (default) and daemonset modes via ConfigMap
without needing a separate environment variable.
Copy file name to clipboardExpand all lines: docs/en/guide/daemonset-mount.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,16 @@ When `STORAGE_CLASS_SHARE_MOUNT` is enabled, JuiceFS CSI Driver shares Mount Pod
16
16
17
17
### Enable DaemonSet Mount
18
18
19
-
To enable DaemonSet mount for StorageClass, set these environment variables in the CSI Driver deployment:
19
+
DaemonSet mount is automatically available when mount sharing is enabled. To enable mount sharing, set this environment variable in the CSI Driver deployment:
20
20
21
21
```yaml
22
22
env:
23
23
- name: STORAGE_CLASS_SHARE_MOUNT
24
24
value: "true"
25
-
- name: STORAGE_CLASS_DAEMONSET
26
-
value: "true"
27
25
```
28
26
27
+
Once enabled, you can configure specific StorageClasses to use DaemonSet mode via the ConfigMap (see below).
28
+
29
29
### Configure Node Affinity
30
30
31
31
There are two ways to configure node affinity for DaemonSet Mount Pods:
0 commit comments