kURL icon indicating copy to clipboard operation
kURL copied to clipboard

Choosing an installation directory for kurl

Open namgk opened this issue 2 years ago • 3 comments

Hi there,

We are using kurl in Azure's VM. Azure's OS disk is only 30GB so when kurl run, it bailed with "the disk containing directory /var/lib/kubelet" has less than 30GB".

We'd have to mount a separate data disk to a location, such as /mnt/datadisk, but how do we point kurl to that new location so it can install?

Thanks

namgk avatar May 02 '23 18:05 namgk

Hi @namgk you can override the base directory where kURL installs its dependencies using the kurl-install-directory option like so: curl https://kurl.sh/latest | sudo bash -s kurl-install-directory="/some/dir"

rrpolanco avatar May 03 '23 16:05 rrpolanco

thanks @rrpolanco, does this change where k8s download/store the docker images?

namgk avatar May 03 '23 17:05 namgk

@namgk yes, the docker images and other assets are stored at the kurl-install-directory path.

rrpolanco avatar Jun 06 '23 18:06 rrpolanco