【问题标题】:Pulling a Google Container Registry container into Google Kubernetes Engine from another GCP project从另一个 GCP 项目将 Google Container Registry 容器拉入 Google Kubernetes Engine
【发布时间】:2020-10-03 12:19:00
【问题描述】:

我希望将一个存在于一个 Google Cloud Platform 项目中的 Google Container Registry 中的容器提取到一个存在于单独 GCP 项目中的 Google Kubernetes Engine 集群中。

这里有一个很好的资源:@​​987654321@,但它包含非 GCP 项目的复杂性。我的猜测是有一种更简单的方法,因为这里的所有内容都驻留在 Google Cloud Platform 中。

谢谢,

【问题讨论】:

    标签: docker kubernetes google-cloud-platform containers google-kubernetes-engine


    【解决方案1】:

    https://medium.com/google-cloud/using-single-docker-repository-with-multiple-gke-projects-1672689f780c

    这篇来自很久以前的 Medium 帖子似乎描述了您正在尝试做的事情。简而言之:您需要将“Storage Object Viewer”IAM 权限授予要从其他项目的注册表中提取图像的集群的服务帐户。角色的名称并不完全直观,但考虑到图像存储在云存储中时,它还是有点意思。

    【讨论】:

      猜你喜欢
      • 2023-03-07
      • 2021-12-22
      • 1970-01-01
      • 2017-06-03
      • 1970-01-01
      • 2016-10-10
      • 1970-01-01
      • 2017-04-07
      • 2022-11-07
      相关资源
      最近更新 更多