簡體   English   中英

從另一個 GCP 項目將 Google Container Registry 容器拉入 Google Kubernetes 引擎

[英]Pulling a Google Container Registry container into Google Kubernetes Engine from another GCP project

我希望將一個存在於一個 Google Cloud Platform 項目中的 Google Container Registry 中的容器提取到一個存在於單獨 GCP 項目中的 Google Kubernetes Engine 集群中。

這里有一個很好的資源: https://medium.com/hackernoon/today-i-learned-pull-docker-image-from-gcr-google-container-registry-in-any-non-gcp-kubernetes- 5f8298f28969但它包含非 GCP 項目的復雜性。 我的猜測是有一種更簡單的方法,因為這里的所有內容都駐留在 Google Cloud Platform 中。

謝謝,

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

這篇來自很久以前的 Medium 帖子似乎描述了您正在嘗試做的事情。 簡而言之:您需要將“Storage Object Viewer”IAM 權限授予要從其他項目的注冊表中提取圖像的集群的服務帳戶。 角色的名稱並不完全直觀,但當您考慮到圖像存儲在雲存儲中時,它有點意義。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM