Set registry mirror.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
8094fe69d4
commit
ead704ddd3
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user