3

Kubernetes is unable to launch container using image from private gcr.io container registry. The error says "ImagePullBackOff". Both Kubernetes and Container registry are in the same Google Cloud project.

Paul Annetts
  • 9,554
  • 1
  • 27
  • 43
vwvolodya
  • 2,324
  • 2
  • 20
  • 30

1 Answers1

4

The issue was with permissions. It turns out that a service account that is used to launch Kubernetes needs to have reading permissions for Google Cloud Storage (this is important as the registry itself is using buckets to store images)

Exact details here

vwvolodya
  • 2,324
  • 2
  • 20
  • 30
  • Specifically `https://www.googleapis.com/auth/devstorage.read_only` by the looks of it. See https://stackoverflow.com/a/54622379/2387626 – James Hiew May 06 '19 at 17:05