Score:2

Pull images to Google Kubernetes Engine cluster from an artifact registry in another project?

in flag

We have a (GKE) kubernetes cluster running in "project A" that needs to get images from an artifact registry that is located in another project, B. How can I configure the project A GKE cluster to have access to pull images from the artifact registry in project B?

Score:0
jp flag

You can pull images from the Artifact registry in another project.

If GKE is in a different project than Artifact Registry, grant the required permissions to the service account.

For example, to add an IAM policy binding for the role roles/artifactregistry.writer for the user [email protected] with the repository my-repo in the location --us-central1, run:

gcloud artifacts repositories add-iam-policy-binding my-repo \
 --location=us-central1 --member=user:[email protected] --role=roles/artifactregistry.writer
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.