Merge pull request #588 from Random-Liu/fix-registry-mirror

Use registry-1.docker.io as backup
This commit is contained in:
Lantao Liu 2018-02-02 01:21:40 -08:00 committed by GitHub
commit 2d61bdbb0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ write_files:
--network-bin-dir=/home/cri-containerd/opt/cni/bin \ --network-bin-dir=/home/cri-containerd/opt/cni/bin \
--network-conf-dir=/home/cri-containerd/etc/cni/net.d \ --network-conf-dir=/home/cri-containerd/etc/cni/net.d \
--cgroup-path=/runtime \ --cgroup-path=/runtime \
--registry=docker.io=https://mirror.gcr.io --registry=docker.io=https://mirror.gcr.io,https://registry-1.docker.io
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target

View File

@ -92,7 +92,7 @@ write_files:
--network-bin-dir=/home/kubernetes/bin \ --network-bin-dir=/home/kubernetes/bin \
--network-conf-dir=/etc/cni/net.d \ --network-conf-dir=/etc/cni/net.d \
--cgroup-path=/runtime \ --cgroup-path=/runtime \
--registry=docker.io=https://mirror.gcr.io --registry=docker.io=https://mirror.gcr.io,https://registry-1.docker.io
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target

View File

@ -86,7 +86,7 @@ write_files:
--network-bin-dir=/home/cri-containerd/opt/cni/bin \ --network-bin-dir=/home/cri-containerd/opt/cni/bin \
--network-conf-dir=/home/cri-containerd/etc/cni/net.d \ --network-conf-dir=/home/cri-containerd/etc/cni/net.d \
--cgroup-path=/runtime \ --cgroup-path=/runtime \
--registry=docker.io=https://mirror.gcr.io --registry=docker.io=https://mirror.gcr.io,https://registry-1.docker.io
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target