Skip to content

prepare ​

Synopsis ​

The prepare command sets up the environment required for Olares to function. This includes installing dependencies, importing container images, and starting the Olares daemon (olaresd).

bash
olares-cli prepare [option]

Options ​

OptionShorthandUsageRequiredDefault
--base-dir-bSets the base directory for Olares.No$HOME/.olares
--help-hDisplays help information.NoN/A
--kubeSpecifies the Kubernetes type.
Supported types are k3s and k8s.
Nok3s
--profile-pSets the Minikube profile name. Only applicable on macOS.Noolares-0
--registry-mirrors-rSpecifies Docker container registry mirrors.
Multiple mirrors should be separated by commas.
NoN/A
--with-juicefsConfigures JuiceFS as the root filesystem (rootfs) for Olares workloads instead of the local disk.NoN/A
--version-vSpecifies the Olares version.
Version values follow the format x.y.z (e.g., 1.10.0) or include a build date (e.g., 1.10.0-20241109).
Refer to the GitHub Releases page for available versions.
NoCurrent version

Examples ​

bash
# Uses JuiceFS as the root filesystem
olares-cli prepare --with-juicefs=true