k0sctl icon indicating copy to clipboard operation
k0sctl copied to clipboard

Specify install location for k0s

Open khumps opened this issue 1 year ago • 5 comments

The machine I am trying to install k0s on has a read-only /usr partition This causes the install command for k0s to fail

executing `sudo -s -- install -m 0750 -o root -g root \"/tmp/tmp.lNe2DW8TD2\" \"/usr/local/bin/k0s\
(stderr) install: cannot create regular file '/usr/local/bin/k0s': Read-only file system

https://docs.k0sproject.io/v1.28.2+k0s.0/troubleshooting/#k0s-not-working-with-read-only-usr does not seem to address what to do if you can not install the k0s binary in /usr.

khumps avatar Nov 02 '23 17:11 khumps