Trident 安装失败,并显示错误 " 找不到 Kubernetes 命令行界面 "
适用于
- NetApp Trident 19.x
- NetApp Trident 20.x
问题
Trident 安装失败
$ ./tridentctl install -n trident FATA Install pre-checks failed; could not initialize Kubernetes client; could not find the Kubernetes CLI;
但是,运行 kubectl 命令时,它运行正常。
$ kubectl version Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit: "70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-eks-af3caf", GitCommit: "af3caf6136cd355f467083651cc1010a499f59b1", GitTreeState:"clean", BuildDate:"2020-03-27T21:51:36Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}