kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

bash: kubectl: command not found

Open shenyuanyang opened this issue 1 year ago • 1 comments

Your current KubeKey version

v3.1.1

Describe this feature

同时安装k8s集群和kubesphere ,提示报错:bash: kubectl: command not found

Describe the solution you'd like

同时安装k8s集群和kubesphere ,提示报错:bash: kubectl: command not found

Additional information

No response

shenyuanyang avatar Aug 20 '24 11:08 shenyuanyang

使用 config-sample中的用户登录,kubectl命令在 /usr/local/bin 中,确保 /usr/local/bin 在 PATH 中

snail2sky avatar Sep 10 '24 02:09 snail2sky