diff --git a/docs/setup/06-install_network_plugin.md b/docs/setup/06-install_network_plugin.md index f9f13ff..0e0d3a2 100644 --- a/docs/setup/06-install_network_plugin.md +++ b/docs/setup/06-install_network_plugin.md @@ -17,7 +17,7 @@ - IPAM Plugin负责给容器分配IP地址 Kubernetes Pod的网络是这样创建的: -- 0.每个Pod除了创建时指定的容器外,都有一个kubelet启动时指定的`基础容器`,比如:`mirrorgooglecontainers/pause-amd64` `registry.access.redhat.com/rhel7/pod-infrastructure` +- 0.每个Pod除了创建时指定的容器外,都有一个kubelet启动时指定的`基础容器`,比如:`easzlab/pause-amd64` `registry.access.redhat.com/rhel7/pod-infrastructure` - 1.首先 kubelet创建`基础容器`生成network namespace - 2.然后 kubelet调用网络CNI driver,由它根据配置调用具体的CNI 插件 - 3.然后 CNI 插件给`基础容器`配置网络 diff --git a/roles/containerd/defaults/main.yml b/roles/containerd/defaults/main.yml index 2ecb0a6..23c1b0f 100644 --- a/roles/containerd/defaults/main.yml +++ b/roles/containerd/defaults/main.yml @@ -2,7 +2,7 @@ STORAGE_DIR: "/var/lib/containerd" # 基础容器镜像 -SANDBOX_IMAGE: "mirrorgooglecontainers/pause-amd64:3.2" +SANDBOX_IMAGE: "easzlab/pause-amd64:3.2" # 启用容器仓库镜像 ENABLE_MIRROR_REGISTRY: true diff --git a/roles/kube-node/defaults/main.yml b/roles/kube-node/defaults/main.yml index 98a8d8a..91f866b 100644 --- a/roles/kube-node/defaults/main.yml +++ b/roles/kube-node/defaults/main.yml @@ -2,7 +2,7 @@ CLUSTER_DNS_SVC_IP: "{{ SERVICE_CIDR | ipaddr('net') | ipaddr(2) | ipaddr('address') }}" # 基础容器镜像 -SANDBOX_IMAGE: "mirrorgooglecontainers/pause-amd64:3.2" +SANDBOX_IMAGE: "easzlab/pause-amd64:3.2" #SANDBOX_IMAGE: "registry.access.redhat.com/rhel7/pod-infrastructure:latest" # Kubelet 根目录 diff --git a/tools/easzup b/tools/easzup index fbbef76..456116e 100755 --- a/tools/easzup +++ b/tools/easzup @@ -224,8 +224,8 @@ function get_offline_image() { docker save -o ${imageDir}/metrics-server_${metricsVer}.tar mirrorgooglecontainers/metrics-server-amd64:${metricsVer} fi if [[ ! -f "$imageDir/pause_$pauseVer.tar" ]];then - docker pull mirrorgooglecontainers/pause-amd64:${pauseVer} && \ - docker save -o ${imageDir}/pause_${pauseVer}.tar mirrorgooglecontainers/pause-amd64:${pauseVer} + docker pull easzlab/pause-amd64:${pauseVer} && \ + docker save -o ${imageDir}/pause_${pauseVer}.tar easzlab/pause-amd64:${pauseVer} /bin/cp -u "${imageDir}/pause_${pauseVer}.tar" "${imageDir}/pause.tar" fi if [[ ! -f "$imageDir/traefik_$traefikVer.tar" ]];then