这玩意其实还是得看官网
Helm 方式
helm upgrade --install ingress-nginx ingress-nginx \ --repo https://kubernetes.github.io/ingress-nginx \ --namespace ingress-nginx --create-namespace
yaml方式
上方那个yaml文件kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.0/deploy/static/provider/cloud/deploy.yaml
查看安装情况
kubectl get pods --namespace=ingress-nginx