Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 3.02 KB

mirrors.md

File metadata and controls

80 lines (56 loc) · 3.02 KB

国内镜像

Docker Hub 镜像

注:开源社镜像代理仅限于 Azure China IP 使用。

示例

docker pull hub-mirror.c.163.com/library/busybox
docker pull dockerhub.azk8s.cn/library/nginx

docker pull quay.mirrors.ustc.edu.cn/coreos/kube-state-metrics:v1.5.0

GCR(Google Container Registry)镜像

注:开源社镜像代理仅限于 Azure China IP 使用。

示例

docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.18.0
docker pull registry.aliyuncs.com/google_containers/kube-apiserver:v1.18.0

docker pull gcr.azk8s.cn/google_containers/hyperkube:v1.12.1
docker pull gcr.azk8s.cn/google_containers/pause-amd64:3.1

Kubernetes RPM/DEB镜像

示例:

# Ubuntu
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb http://mirror.azure.cn/kubernetes/packages/apt/ kubernetes-xenial main
EOF

Helm Charts 镜像

示例

helm repo add stable http://mirror.azure.cn/kubernetes/charts/
helm repo add incubator http://mirror.azure.cn/kubernetes/charts-incubator/

操作系统镜像

以 Ubuntu 18.04(Bionic)为例,修改 /etc/apt/sources.list 文件的内容为

deb http://azure.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse