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
Copy file name to clipboardExpand all lines: README.md
+37-13Lines changed: 37 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,19 @@ MooseFS source code can be found [on GitHub](https://github.com/moosefs/moosefs)
10
10
11
11
*Note that a pool of MooseFS Clients that are available for use by containers is created on each node. By default the number of MooseFS Clients in the pool is `1`.*
12
12
13
+
## Changelog
14
+
15
+
Driver verson 0.9.8
16
+
* MooseFS client updated to version 4.57.6.
17
+
* The provisioner and registrar images entries have been updated.
18
+
* Update the Dockerfile to build only mfsmount and mfscli.
19
+
20
+
Driver verson 0.9.7
21
+
* Added support for MooseFS 4 client.
22
+
* Enabled passing additional mfsmount parameters during the mount process (password and more).
23
+
* Support for cross-platform compilation has been enabled.
24
+
* Repository images support AMD64, ARM64 and ARMv7 architectures by default.
25
+
13
26
## Installation on Kubernetes
14
27
15
28
### Prerequisites
@@ -20,37 +33,46 @@ MooseFS source code can be found [on GitHub](https://github.com/moosefs/moosefs)
20
33
21
34
### **Deployment**
22
35
23
-
1.Complete`deploy/kubernetes/csi-moosefs-config.yaml`configuration file with your settings:
36
+
1.Edit`deploy/kubernetes/csi-moosefs-config.yaml`config map file with your settings:
24
37
25
38
*`master_host` – domain name (**recommended**) or IP address of your MooseFS Master Server(s). It is an equivalent to `-H master_host` or `-o mfsmaster=master_host` passed to MooseFS Client.
26
39
*`master_port` – port number of your MooseFS Master Server. It is an equivalent to `-P master_port` or `-o mfsport=master_port` passed to MooseFS Client.
27
40
*`k8s_root_dir` – each mount's root directory on MooseFS. Each path is relative to this one. Equivalent to `-S k8s_root_dir` or `-o mfssubfolder=k8s_root_dir` passed to MooseFS Client.
28
41
*`driver_working_dir` – a driver working directory inside MooseFS where persistent volumes, logs and metadata is stored (actual path is: `k8s_root_dir/driver_working_dir`)
29
42
*`mount_count` – number of pre created MooseFS clients running on each node
30
-
and apply:
31
43
*`mfs_logging` – driver can create logs from each component in `k8s_root_dir/driver_working_dir/logs` directory. Boolean `"true"`/`"false"` value.
32
44
45
+
2. Apply csi-moosefs-config config map to the cluster:
3. Update `deploy/kubernetes/csi-moosefs.yaml` file with the image that uses required MooseFS or MooseFS Pro version and MooseFS CSI Plugin version. Default images are the latest version of the plugin and the latest version of MooseFS (Community):
59
+
3. Update `deploy/csi-moosefs.yaml` file with the aproprieate image:
46
60
47
-
* Find plugin named `csi-moosefs-plugin`
48
-
* Update the `image` version suffix in the plugin's section accordingly, for example:
49
-
* `0.9.4-3.0.117` – for plugin version 0.9.4 and MooseFS Community 3.0.117
50
-
* `0.9.4-4.44.4-pro` – for plugin version 0.9.4 and MooseFS Pro 4.44.4
61
+
The default image consists of the latest version of the CSI plug-in and the latest version of the MooseFS Community Edition client:
62
+
63
+
* Locate image definition under the `csi-moosefs-plugin` plugin name(line 230 and line 329)
64
+
`mage: ghcr.io/moosefs/moosefs-csi:dev`
65
+
* Update the `image` version suffix in the plugin's section accordingly:
66
+
* `0.9.8-4.57.6` – plugin version 0.9.7 and MooseFS CE 4.57.6
67
+
* `0.9.7-4.57.5` – plugin version 0.9.7 and MooseFS CE 4.57.5
68
+
* `0.9.7-4.56.6` – plugin version 0.9.7 and MooseFS CE 4.56.6
51
69
52
70
You can find a complete list of available images at: \
Fot driver with MoosreFS client PRO version: https://registry.moosefs.com/v2/moosefs-csi-plugin/tags/list.
74
+
* `0.9.7-4.56.6-pro` – plugin version 0.9.7 and MooseFS PRO 4.56.6
75
+
54
76
55
77
**Note there are two occurrences of `csi-moosefs-plugin` in `csi-moosefs.yaml` file and it is necessary to update the image version in both places of the file.**
56
78
@@ -104,7 +126,8 @@ MooseFS source code can be found [on GitHub](https://github.com/moosefs/moosefs)
104
126
172.17.2.80:9421 4.2T 1.4T 2.8T 33% /data
105
127
```
106
128
107
-
You may take a look at MooseFS CGI Monitoring Interface ("Quotas" tab) to check if a quota for 5 GiB on a newly created volume directory has been set. Dynamically provisioned volumes are stored on MooseFS in `k8s_root_dir/driver_working_dir/volumes` directory.
129
+
You may take a look at MooseFS GUI Monitoring Interface ("Quotas" tab) to check if a quota for 5 GiB on a newly created volume directory has been set.
130
+
Dynamically provisioned volumes are stored on MooseFS in `k8s_root_dir/driver_working_dir/volumes` directory.
108
131
109
132
5. Clean up:
110
133
@@ -233,12 +256,13 @@ spec:
233
256
234
257
| Kubernetes | MooseFS CSI Driver |
235
258
|:----------:|:------------------:|
236
-
| `v1.26.2` | `v0.9.4` |
237
-
| `v1.24.2` | `v0.9.4` |
259
+
| `v1.26` | `v0.9.7` |
260
+
| `-----` | `------` |
261
+
| `v1.32` | `v0.9.8` |
238
262
239
263
## Copyright
240
264
241
-
Copyright (c) 2020-2023 Saglabs SA
265
+
Copyright (c) 2020-2025 Saglabs SA
242
266
243
267
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0).
0 commit comments