0. github 地址 controller-v0.41.2 https://github.com/kubernetes/ingress-nginx/blob/controller-v0.41.2/deploy/static/provider/do/deploy.yaml 文件重命名->ingress-nginx-controller.yaml 1. 修改镜像 k8s.gcr.io/ingress-nginx/controller:v0.41.2@sha256:1f4f402b9c14f3ae92b11ada1dfe9893a88f0faeb0b2f4b903e2c67a0c3bf0de ## 替换成 registry.cn-beijing.aliyuncs.com/lingshiedu/ingress-nginx-controller:0.41.2 ## 因为k8s.gcr.io的镜像国内没法下载,所以替换成阿里云的镜像 2. 创建Ingress-Controller kubectl create -f ingress-nginx-controller.yaml 3. 安装Metallb kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.5/manifests/namespace.yaml kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.5/manifests/metallb.yaml # On first install only kubectl crea