mirror of https://github.com/easzlab/kubeasz.git
fix pause-amd64:3.2 repos
parent
7a8860ff0c
commit
d69b9a15fc
|
@ -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 插件给`基础容器`配置网络
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 根目录
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue