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
+28-12Lines changed: 28 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,14 @@ 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.7
16
+
* Added support for MooseFS 4 client.
17
+
* Enabled passing additional mfsmount parameters during the mount process (password and more).
18
+
* Support for cross-platform compilation has been enabled.
19
+
* Repository images support AMD64, ARM64 and ARMv7 architectures by default.
20
+
13
21
## Installation on Kubernetes
14
22
15
23
### Prerequisites
@@ -20,34 +28,40 @@ MooseFS source code can be found [on GitHub](https://github.com/moosefs/moosefs)
20
28
21
29
### **Deployment**
22
30
23
-
1.Complete`deploy/kubernetes/csi-moosefs-config.yaml`configuration file with your settings:
31
+
1.Edit`deploy/kubernetes/csi-moosefs-config.yaml`config map file with your settings:
24
32
25
33
*`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
34
*`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
35
*`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
36
*`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
37
*`mount_count` – number of pre created MooseFS clients running on each node
30
-
and apply:
31
38
*`mfs_logging` – driver can create logs from each component in `k8s_root_dir/driver_working_dir/logs` directory. Boolean `"true"`/`"false"` value.
32
39
40
+
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):
54
+
3. Update `deploy/kubernetes/csi-moosefs.yaml` file with the aproprieate image:
55
+
56
+
The default image consists of the latest version of the CSI plug-in and the latest version of the MooseFS Community Edition client:
46
57
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
58
+
* Locate image definition under the `csi-moosefs-plugin` plugin name(line 230 and line 323)
@@ -104,7 +118,8 @@ MooseFS source code can be found [on GitHub](https://github.com/moosefs/moosefs)
104
118
172.17.2.80:9421 4.2T 1.4T 2.8T 33% /data
105
119
```
106
120
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.
121
+
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.
122
+
Dynamically provisioned volumes are stored on MooseFS in `k8s_root_dir/driver_working_dir/volumes` directory.
108
123
109
124
5. Clean up:
110
125
@@ -233,12 +248,13 @@ spec:
233
248
234
249
| Kubernetes | MooseFS CSI Driver |
235
250
|:----------:|:------------------:|
236
-
| `v1.26.2` | `v0.9.4` |
237
-
| `v1.24.2` | `v0.9.4` |
251
+
| `v1.26` | `v0.9.7` |
252
+
| `-----` | `------` |
253
+
| `v1.30` | `v0.9.7` |
238
254
239
255
## Copyright
240
256
241
-
Copyright (c) 2020-2023 Saglabs SA
257
+
Copyright (c) 2020-2024 Saglabs SA
242
258
243
259
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