集群配置;1Master;2Worker
编辑文件过程中搜索命令;; / ;
wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml
vi deploy.yaml
image: bitnami/nginx-ingress-controller:1.1.2
hostNetwork: true
image: liangjw/kube-webhook-certgen:v1.1.1
hostNetwork: true
image: liangjw/kube-webhook-certgen:v1.1.1
hostNetwork: true
经过上述操作;配置文件就算修改完成了;接下来就是部署安装;
kubectl apply -f deploy.yaml
如果看到这样的场景;说明Ingress部署成功了;