通过 gcloud 将 internalIpOnly 传递给 projects.regions.clusters.create

Pass internalIpOnly to projects.regions.clusters.create through gcloud

GceClusterConfig 对象有 属性 internalIpOnly, but there is no clear documentation on how to specify that flag through gcloud command。有没有办法传递 属性?

该功能在 gcloud beta dataproc clusters create 中首次发布,您可以在其中使用 --no-address 标志将其打开。该功能最近成为一般可用性,并且现在应该随时将其纳入主要gcloud dataproc clusters create(如果您运行 gcloud components update,您可能会在非测试版分支中获得标志尽管 public 文档尚未更新以反映它)。