diff --git a/inventory/prod/group_vars/all/containerd.yml b/inventory/prod/group_vars/all/containerd.yml index 2fc66b636d4..3e7e33ef050 100644 --- a/inventory/prod/group_vars/all/containerd.yml +++ b/inventory/prod/group_vars/all/containerd.yml @@ -8,7 +8,10 @@ # debug: # level: "" # registries: -# "docker.io": "https://registry-1.docker.io" +# "docker.io": +# - "http://172.20.100.52:5000" +# - "https://mirror.gcr.io" +# - "https://registry-1.docker.io" # max_container_log_line_size: -1 # metrics: # address: "" diff --git a/inventory/prod/group_vars/all/crio.yml b/inventory/prod/group_vars/all/crio.yml new file mode 100644 index 00000000000..596d5dbe0bc --- /dev/null +++ b/inventory/prod/group_vars/all/crio.yml @@ -0,0 +1,12 @@ +--- + +#crio_registries_mirrors: +# - prefix: docker.io +# insecure: false +# blocked: false +# location: registry-1.docker.io +# mirrors: +# - location: 172.20.100.52:5000 +# insecure: true +# - location: mirror.gcr.io +# insecure: false diff --git a/inventory/prod/group_vars/all/docker.yml b/inventory/prod/group_vars/all/docker.yml index 873b6093f55..c808b979a79 100644 --- a/inventory/prod/group_vars/all/docker.yml +++ b/inventory/prod/group_vars/all/docker.yml @@ -38,9 +38,9 @@ docker_rpm_keepcache: 0 # - 172.19.16.11 ## Add other registry,example China registry mirror. -# docker_registry_mirrors: -# - https://registry.docker-cn.com -# - https://mirror.aliyuncs.com +docker_registry_mirrors: + - http://172.20.100.52:5000 + - https://mirror.gcr.io ## If non-empty will override default system MounFlags value. ## This option takes a mount propagation flag: shared, slave diff --git a/inventory/s000/group_vars/all/containerd.yml b/inventory/s000/group_vars/all/containerd.yml index 2fc66b636d4..3e7e33ef050 100644 --- a/inventory/s000/group_vars/all/containerd.yml +++ b/inventory/s000/group_vars/all/containerd.yml @@ -8,7 +8,10 @@ # debug: # level: "" # registries: -# "docker.io": "https://registry-1.docker.io" +# "docker.io": +# - "http://172.20.100.52:5000" +# - "https://mirror.gcr.io" +# - "https://registry-1.docker.io" # max_container_log_line_size: -1 # metrics: # address: "" diff --git a/inventory/s000/group_vars/all/crio.yml b/inventory/s000/group_vars/all/crio.yml new file mode 100644 index 00000000000..a98f7c6e704 --- /dev/null +++ b/inventory/s000/group_vars/all/crio.yml @@ -0,0 +1,12 @@ +--- + +# crio_registries_mirrors: +# - prefix: docker.io +# insecure: false +# blocked: false +# location: registry-1.docker.io +# mirrors: +# - location: 172.20.100.52:5000 +# insecure: true +# - location: mirror.gcr.io +# insecure: false diff --git a/inventory/s000/group_vars/all/docker.yml b/inventory/s000/group_vars/all/docker.yml index 873b6093f55..c808b979a79 100644 --- a/inventory/s000/group_vars/all/docker.yml +++ b/inventory/s000/group_vars/all/docker.yml @@ -38,9 +38,9 @@ docker_rpm_keepcache: 0 # - 172.19.16.11 ## Add other registry,example China registry mirror. -# docker_registry_mirrors: -# - https://registry.docker-cn.com -# - https://mirror.aliyuncs.com +docker_registry_mirrors: + - http://172.20.100.52:5000 + - https://mirror.gcr.io ## If non-empty will override default system MounFlags value. ## This option takes a mount propagation flag: shared, slave