Currently I'm using kubeadm 1.7.2 to install kubernetes.
It will download images like gcr.io/google_containers/etc-amd64:3.0.17. But in gcr.io, I only see google-containers.
So gcr.io.google_containers is the same gcr.io.google-containers ????
If they are the same, why when I tag them to google-containers instead of google-containers kubeadm will download the google_containers/xxx ???
So gcr.io.google_containers is the same gcr.io.google-containers
Since 2015, yes: see kubernetes issue 6229
It turns out that that is because I am using an older version of docker which does not allow "
-" in namespaces.
I getInvalid namespace name (google-containers), only [a-z0-9_] are allowed, size between 4 and 30error on running$docker pull gcr.io/google-containers/heapster.@thockin suggested that we can change the path to use
google_containersinstead ofgoogle-containerssince that works for all versions of docker.