This feature requires JuiceFS CSI Driver version 0.13.3 and above.
JuiceFS CSI Driver support setting
juicefs format (Community Edition) or
juicefs auth (Cloud Service Edition) command line options to initialize the file system or modify file system settings. This document shows how to apply file system settings to JuiceFS in Kubernetes. The command line options are different for the community edition and cloud service edition, but are used in the same way in the CSI Driver.
When creating a
Secret (either "Static Provisioning" or "Dynamic Provisioning"), add the
format-options option, and fill in the configuration items that need to be set with the
, connection, as follows (take the community edition command line options as an example):
format-options has higher priority than other options. For example,
format-options also sets
access-key, then in when executing the
juicefs format command, the value set in
format-options will be used first.