`~/.kube/config` file is missing
Closed this issue · 6 comments
I just got this error after following the installation instructions in the init
branch.
(venv) ➜ rasactl git:(init) ✗ sudo ./rasactl start -p
Error: stat /root/.kube/config: no such file or directory
stat /root/.kube/config: no such file or directory
It seems like for local mode I need a ~/.kube/config
file around? If that's the case, it would be good to add a section in the installation guide on how to add it. I imagine this is a file that's known for kubernetes users, but since kubernetes novices will also need to use this tool I'd argue we need to add a step to the installation guide.
I just got this error after following the installation instructions in the
init
branch.(venv) ➜ rasactl git:(init) ✗ sudo ./rasactl start -p Error: stat /root/.kube/config: no such file or directory stat /root/.kube/config: no such file or directory
It seems like for local mode I need a
~/.kube/config
file around? If that's the case, it would be good to add a section in the installation guide on how to add it. I imagine this is a file that's known for kubernetes users, but since kubernetes novices will also need to use this tool I'd argue we need to add a step to the installation guide.
So it's not really missing, it looks like the kube config
is provided by the env variable in your case sudo -E
should help, but it's a good point and it'll remember to mention it in the docs.
BTW, did you run in on macOS or Linux?
I'm running this on popOS on an Intel NUC, which for most intents and use-cases is pretty much like Ubuntu. I ssh into this machine via my Mac which has an M1. I could also test it on my Rasa laptop though.
The sudo
command is no longer required, thus it shouldn't be a problem in the future.
@tczekajlo I'm still prompted for my password when using and it still shows the message "sudo is required". Did it change back?
@melindaloubser1 no, sudo
is not required anymore, which version do you use?
I followed the docs just yesterday, so whichever version curl -O https://rei.rasa.com/rei.sh && bash rei.sh -y
gives you. rasactl
is 0.4.1, which seems like latest