我已经通过这篇文章卸载了minikube ,现在每次打开终端时都会显示此消息:
kubectl: command not found
Command 'minikube' not found, did you mean:
command 'minitube' from deb minitube
Try: sudo apt install <deb name>
我不知道发生了什么。有人可以帮我阻止此消息的出现吗?
您的~/.bashrc
文件中可能包含同时调用minikube
或/和的条目kubectl
。只需编辑/删除这些条目。例如:
vi ~/.bashrc
在vi
编辑器中:
/kubectl
dd
/minikube
dd
:wq
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句