Set registry mirror.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2018-02-01 18:49:09 +00:00
parent 8094fe69d4
commit ead704ddd3
3 changed files with 6 additions and 3 deletions

View File

@ -88,7 +88,8 @@ write_files:
--log-level=debug \ --log-level=debug \
--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
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target

View File

@ -91,7 +91,8 @@ write_files:
--log-level=debug \ --log-level=debug \
--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
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target

View File

@ -85,7 +85,8 @@ write_files:
--log-level=debug \ --log-level=debug \
--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
[Install] [Install]
WantedBy=cri-containerd.target WantedBy=cri-containerd.target