ingress controller实战
# ingress controller实战
本文讲述如何在k8s集群中部署nginx ingress controller
大致步骤
- 给nic创建namespace
- deployment部署nic的pod
- service对外暴露nic的pod,以供访问
获取yaml文件
wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.0/deploy/static/provider/cloud/deploy.yaml
1
编辑 (opens new window)