Update README.md

This commit is contained in:
Kay Yan 2021-09-16 10:21:35 +08:00 committed by GitHub
parent a326977396
commit 7ce98989c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ python scripts/sync-to-jp.py
``` bash ``` bash
# 使用 kubeadm 安装的时候指定 --image-repository 参数, 指定安装的镜像前缀 # 使用 kubeadm 安装的时候指定 --image-repository 参数, 指定安装的镜像前缀
REPOS=k8s-gcr.m.daocloud.io REPOS=k8s-gcr.m.daocloud.io
kubeadm config images pull --image-repository "${REPOS}"
kubeadm init --image-repository "${REPOS}" kubeadm init --image-repository "${REPOS}"
``` ```