Skip to Content
Kubernetes Cookbook - Second Edition
book

Kubernetes Cookbook - Second Edition

by Hideto Saito, Hui-Chuan Chloe Lee, Ke-Jou Carol Hsu
May 2018
Intermediate to advanced
554 pages
13h 51m
English
Packt Publishing
Content preview from Kubernetes Cookbook - Second Edition

Determining your repository URL on Google container registry

In order to push a container image to Google container registry, there is an important consideration regarding the repository URL. First of all, there are several Google container registry region hosts available:

  • gcr.io (currently USA region)
  • us.gcr.io (USA region)
  • eu.gcr.io (Europe region)
  • asia.gcr.io (Asia region)
Note that these region hosts are network latency purpose, doesn't mean to restrict to a particular region. They are still accessible worldwide.

Second of all, while you tag the container image, you also need to specify your project-id on which you've enabled billing and API. Therefore, the entire repository URL could be:

<gcr region>/<project-id>/<image name>:tag
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes Cookbook

Kubernetes Cookbook

Sébastien Goasguen, Michael Hausenblas
DevOps with Kubernetes - Second Edition

DevOps with Kubernetes - Second Edition

Hideto Saito, Hui-Chuan Chloe Lee, Cheng-Yang Wu

Publisher Resources

ISBN: 9781788837606Supplemental Content