Open quanghungb opened 1 year ago
First we should check if k3s support to install as a unprivileged user.
This is a legacy script and the newest one is in https://github.com/kubevela/kubevela.io.
First we should check if k3s support to install as a unprivileged user.
it seems to be possible: https://github.com/k3s-io/k3s/issues/38
Then this will be possible, but still I have to tag it with help wanted
. Let's see if someone would like to contribute to this.
Then this will be possible, but still I have to tag it with help wanted
. Let's see if someone would like to contribute to this.
In the installation script of velad, it's possible to change the binary directory and not to use the sudo for the velad binary here: https://github.com/kubevela/velad/blob/9849282a31c5b46fec6142f40a3835209352ab0d/hack/install-velad.sh#L6 and here https://github.com/kubevela/velad/blob/9849282a31c5b46fec6142f40a3835209352ab0d/hack/install-velad.sh#L9
This is a very useful option for the environments where users don't have the right to run
sudo
.But the
velad install
fails eventually because it could not setup k3s due to this errorIt would be nice to apply such kind of option for the
velad install
. So we could install and run velad without using the sudo and from a specific folder of our choice in an restricted environment (without sudo or any admin privileges).Additional info