按照指南,我正在尝试从 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.
如您所见,我的 Google Cloud SDK 似乎是最新的,但仍无法在 GCE 上正常工作。有什么我想念的吗?