mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-10-29 04:29:22 +08:00
Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -86,6 +86,17 @@ kubeadm config images pull --image-repository k8s-gcr.m.daocloud.io
|
||||
kind create cluster --name kind --image m.daocloud.io/docker.io/kindest/node:v1.22.1
|
||||
```
|
||||
|
||||
#### 加速所有 Pod
|
||||
|
||||
https://github.com/wzshiming/repimage
|
||||
|
||||
不修改 yaml, helm 等, 仅使用 Webhook, 自动修改所有新建 Pod 的 image 使用本 mirror
|
||||
|
||||
``` bash
|
||||
kubectl create -f https://files.m.daocloud.io/github.com/wzshiming/repimage/releases/download/latest/repimage.yaml
|
||||
kubectl rollout status deployment/repimage -n kube-system
|
||||
```
|
||||
|
||||
#### 加速 Containerd
|
||||
|
||||
* 参考 Containerd 官方文档: [hosts.md](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-host-namespace)
|
||||
|
||||
Reference in New Issue
Block a user