【发布时间】:2018-03-21 22:41:22
【问题描述】:
如果我发出gcloud dataproc clusters list 列出了0 个集群:
$ gcloud dataproc clusters list
Listed 0 items.
但是,如果我指定区域 gcloud dataproc clusters list --region europe-west1,我会返回一个集群列表:
$ gcloud dataproc clusters list --region europe-west1
NAME WORKER_COUNT STATUS ZONE
mydataproccluster1 2 RUNNING europe-west1-d
mydataproccluster2 2 RUNNING europe-west1-d
我猜在不指定 --region 的情况下无法获取集群列表是我的组织管理员做出决定的结果,但我希望有办法解决它。我可以访问https://console.cloud.google.com/ 并查看项目中所有集群的列表,我可以使用gcloud 获得相同的结果吗?必须访问https://console.cloud.google.com/ 才能发出gcloud dataproc clusters list --region europe-west1 似乎有点限制。
【问题讨论】:
标签: gcloud google-cloud-dataproc