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
-`metaurl`: Connection URL for metadata engine (e.g. Redis). Read [this document](https://juicefs.com/docs/community/databases_for_metadata/) for more information.
50
-
-`access-key`: Access key of object storage.
51
-
-`secret-key`: Secret key of object storage.
49
+
-`metaurl`: Connection URL for metadata engine (e.g. Redis), it is required. Read [this document](https://juicefs.com/docs/community/databases_for_metadata/) for more information.
50
+
-`access-key`: Access key of object storage, not required, if your filesystem is already formatted, can be empty.
51
+
-`secret-key`: Secret key of object storage, not required, if your filesystem is already formatted, can be empty.
52
52
53
53
**Check `Dataset` to be created**
54
54
@@ -61,22 +61,22 @@ metadata:
61
61
spec:
62
62
mounts:
63
63
- name: minio
64
-
mountPoint: "juicefs:///demo"
64
+
mountPoint: "juicefs:///demo"# Refers to the subdirectory of JuiceFS, starts with `juicefs://`. Required.
65
65
options:
66
-
bucket: "<bucket>"
66
+
bucket: "<bucket>"# Bucket URL. Not required, if your filesystem is already formatted, can be empty.
67
67
storage: "minio"
68
68
encryptOptions:
69
-
- name: metaurl
69
+
- name: metaurl# Connection URL for metadata engine. Required.
70
70
valueFrom:
71
71
secretKeyRef:
72
72
name: jfs-secret
73
73
key: metaurl
74
-
- name: access-key
74
+
- name: access-key# Access key of object storage. Not required, if your filesystem is already formatted, can be empty.
75
75
valueFrom:
76
76
secretKeyRef:
77
77
name: jfs-secret
78
78
key: access-key
79
-
- name: secret-key
79
+
- name: secret-key# Secret key of object storage. Not required, if your filesystem is already formatted, can be empty.
-`token`: JuiceFS managed token. Read [this document](https://juicefs.com/docs/cloud/metadata/#token-management) for more details.
219
-
-`access-key`: Access key of object storage.
220
-
-`secret-key`: Secret key of object storage.
218
+
-`token`: JuiceFS managed token. Not required, if JuiceFS connected to meta server via `initconfig`, can be empty. Read [this document](https://juicefs.com/docs/cloud/metadata/#token-management) for more details.
219
+
-`access-key`: Access key of object storage, not required, if it has been configured in JuiceFS console, can be empty.
220
+
-`secret-key`: Secret key of object storage, not required, if it has been configured in JuiceFS console, can be empty.
221
221
222
222
**Check `Dataset` to be created**
223
223
@@ -230,21 +230,21 @@ metadata:
230
230
spec:
231
231
mounts:
232
232
- name: minio
233
-
mountPoint: "juicefs:///demo"
233
+
mountPoint: "juicefs:///demo"# Refers to the subdirectory of JuiceFS, starts with `juicefs://`. Required.
234
234
options:
235
-
bucket: "<bucket>"
235
+
bucket: "<bucket>"# Bucket URL. Not required, if no display of the specification is required, can be empty.
236
236
encryptOptions:
237
-
- name: token
237
+
- name: token# JuiceFS managed token. Not required, if JuiceFS connected to meta server via `initconfig`, can be empty.
238
238
valueFrom:
239
239
secretKeyRef:
240
240
name: jfs-secret
241
241
key: token
242
-
- name: access-key
242
+
- name: access-key# Access key of object storage. Not required, if it has been configured in JuiceFS console, can be empty.
243
243
valueFrom:
244
244
secretKeyRef:
245
245
name: jfs-secret
246
246
key: access-key
247
-
- name: secret-key
247
+
- name: secret-key# Secret key of object storage. Not required, if it has been configured in JuiceFS console, can be empty.
248
248
valueFrom:
249
249
secretKeyRef:
250
250
name: jfs-secret
@@ -256,7 +256,7 @@ EOF
256
256
-`mountPoint`: Refers to the subdirectory of JuiceFS, which is the directory where users store data in the JuiceFS file system, starts with `juicefs://`. For example, `juicefs:///demo` is the `/demo` subdirectory of the JuiceFS file system.
257
257
-`bucket`: Bucket URL. For example, using S3 as object storage, bucket is `https://myjuicefs.s3.us-east-2.amazonaws.com`. Read [this document](https://juicefs.com/docs/community/how_to_setup_object_storage/) to learn how to setup different object storage.
258
258
259
-
> **Attention**: `name`and `token` are required.
259
+
> **Attention**: `name`is required.
260
260
261
261
Since JuiceFS uses local cache, the corresponding `Dataset` supports only one mount, and JuiceFS does not have UFS, you can specify subdirectory in `mountPoint` (`juicefs:///` represents root directory), and it will be mounted as the root directory into the container.
0 commit comments