google-kubernetes-engine - Google Cloud Build 超时 10 分钟
问题描述
我尝试使用“新容器映像”选项从 BitBucket 存储库在 GKE 中创建部署。
但我收到ERROR: Timed out when my container is building。
另外,我尝试设置参数,但没有帮助:
gcloud config set app/cloud_build_timeout 1600
gcloud config set builds/timeout 1600
gcloud config set container/build_timeout 1600
如果我无权使用 GKE Workloads 管道访问cloudbuild.yaml配置文件,如何更改 Cloud Build ws GKE 中的限制?
解决方案
内置功能使用您无法覆盖的默认参数。
如果您要构建的容器太长,请触发 Cloud Build 以使用适当的超时时间单独构建您的容器,然后在 GKE 上部署此容器。
在同一个 Cloud Build 中同时构建和部署工业解决方案。
推荐阅读
- java - 从 FireStore android 检索自定义字段
- c++ - 如何在 Clang LibTooling 中获取有关调用析构函数的信息?
- javascript - 在某个元素之后查找类
- java - 当 postDelayed 处理程序运行时,AsynchTask 冻结
- php - 消息:未定义属性:CI_DB_mysqli_result::$num_row
- css - React js语义菜单项在中心
- python - 如何在 pycharms 交互式调试器中评估协程
- firebase - 无法为 Firebase 子集合和角色创建正确的规则
- javascript - 在反应登录应用程序中验证 Google recaptcha
- jsp - weblogic 12.2.1.4 无法编译jsp 方法_jspService(HttpServletRequest, HttpServletResponse) 的代码超过了65535字节的限制