MicroK8s
在单个节点上安装时,获取状态时出现以下错误microk8s
:
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
microk8s.status: command not found
我已经完成出口PATH=$PATH:/usr/bin
sudo nano /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
仍然出现相同错误。我该如何修复此问题?
答案1
也许你可以尝试在 ubuntu 18 上安装 snap
https://codeburst.io/how-to-install-and-use-snap-on-ubuntu-18-04-9fcb6e3b34f9