ingress-nginx pod 拉不起来报错,标签问题
wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/mandatory.yaml
vim mandatory.yaml(添加了213行;修改了218行)
kubectl create -f mandatory.yaml 报错;如下
pod 状态是 Pending(只在k8s-master上打了标签)
给另外两个节点打标签后就成功了;
查看ingress的controller落在哪个节点上了;最后落到node1上了;
查看k8s-master的描述,发现master不被调度(NoExecute)
想要被调度 ,就只能清除上边的污点