小编Ole*_*kyi的帖子

默认情况下,kubectl未安装在GCE上

按照指南,我试图从Google Compute Engine上的另一台计算机管理Google Container Engine集群.这是我的GCE实例的输出:

oleksandr_berezianskyi_gmail_com@docker-managed-jenkins:~$ sudo gcloud components update preview
All components are up to date.
oleksandr_berezianskyi_gmail_com@docker-managed-jenkins:~$ sudo gcloud components update alpha
All components are up to date.
oleksandr_berezianskyi_gmail_com@docker-managed-jenkins:~$ gcloud alpha container kubectl create -f cassandra.yaml
ERROR: (gcloud.alpha.container.kubectl) This command requires the kubernetes client (kubectl), which is installed with the gcloud preview component. Run 'gcloud components update preview', or make sure kubectl is installed somewhere on your
 path.
Run Code Online (Sandbox Code Playgroud)

如您所见,我的Google Cloud SDK似乎是最新的,但仍无法在GCE上正常运行.有什么我想念的吗?

google-compute-engine google-kubernetes-engine

5
推荐指数
2
解决办法
8835
查看次数