

免费资源网 – https://freexyz.cn/
目录环境:一、安装ingress-nginx二、修改deploy.yaml文件三、部署ingress-nginx总结
环境:
Linux:CentOS Linux release 7.9.2009 (Core)
Kubernetes:v1.23.5
Dokcer:20.10.14
一、安装ingress-nginx
wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml
二、修改deploy.yaml文件
1、注释掉external Traffic Policy:Local
2、因默认镜像源国内无法访问 ,修改为dockerhub上的镜像源
修改controller/deploy的image:
image: bitnami/nginx-ingress-controller:1.1.2
© 版权声明
THE END
★喜欢这篇文章吗?喜欢的话,麻烦动动手指支持一下!★
相关推荐
暂无评论内容