This commit is contained in:
Shiming Zhang
2025-01-08 14:56:35 +08:00
parent 2eefc07aae
commit 0c5d678f12
4 changed files with 0 additions and 231 deletions

View File

@@ -102,16 +102,6 @@ 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
```
* 通过 加速 部署 应用(这里以 Ingress 为例)
``` bash
wget -O image-filter.sh https://github.com/DaoCloud/public-image-mirror/raw/main/hack/image-filter.sh && chmod +x image-filter.sh
wget -O deploy.yaml https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/baremetal/deploy.yaml
cat ./deploy.yaml | ./image-filter.sh | kubectl apply -f -
```
* Docker 加速
添加到 `/etc/docker/daemon.json`