# ingress-nginx ```bash ## 打上标签 $ kubectl label node k8s-m1 ingress=true $ kubectl get node --show-labels ## 启动ingress-nginx $ kubectl apply -f mandatory.yml ## 查看pod $ kubectl -n ingress-nginx get pod,services -o wide ## 查看Pending创建pod失败原因; 检查label或端口占用 $ kubectl -n ingress-nginx describe pod $ kubectl -n test get ing ## curl 调试地址 kubectl get pod -A -owide|grep nginx # 获取 ingress-nginx 地址 curl -skL -HHost:myblog.pod.opsbase.cn 66.94.11.11/admin -v ```