google-cloud-platform - Is there some special requirement to use Cloud Build Private Workers Pools?
问题描述
I'm working with Cloud Build at my company and I need to use workers with access on my VPC network.
I've followed the instructions from the documentation (https://cloud.google.com/sdk/gcloud/reference/builds/worker-pools/create), but the command responds this message:
X@cloudshell:~ (PROJECT_ID)$ gcloud builds worker-pools create POOL_NAME \
--project=PROJECT_ID /
--region=southamerica-east1 /
--peered-network=projects/PROJECT_ID/global/networks/NETWORK_NAME /
--worker-machine-type=e2-standard-2
ERROR: (gcloud.builds.worker-pools.create) ALREADY_EXISTS: project PROJECT_ID already has 0 WorkerPools, and the max is 0
The pool creation does not work neither in Cloud Shell Terminal, nor the Console. Both exit with the same project PROJECT_ID already has 0 WorkerPools, and the max is 0
.
The documentation (https://cloud.google.com/build/docs/private-pools/create-manage-private-pools) says that:
You can create 10 private pools per Cloud project per region.
So why all of my projects are with 0 max WorkerPools? Am I missing something?
* My organization and billing are fine.
** I have those IAM roles for this project:
Cloud Build WorkerPool Owner
Owner
Organization Administrator
Kubernetes Engine Admin
解决方案
推荐阅读
- google-app-engine - GAE 部署错误:“无法写入多个包”
- python - Python的X长度二进制
- python - 熊猫数据框中的argparse Typeerror,执行不正确
- google-kubernetes-engine - GKE 什么时候不再支持 k8s 版本?
- kotlin - kotlin 接口伴随对象函数上的@JvmOverloads 错误
- android - 关于 Android EMM 的权限
- blazor - Blazor 中是否有导航堆栈?
- java - 如何在 Java 中为 Springboot 实现通用存储库
- python-3.x - 如何使用 Python 对红外光谱数据进行聚类
- python - 为什么 python str.strip() 方法不删除这段代码中的前导字符?