k8s of ingress-nginx deployment has prompted health checks port 10254 does not deal with the problem by

Before deploying a set of k8s cluster, but the time to deploy ingress-nginx, it has prompted 10254 Port refuse unreasonable; in the following figure.

 

 

This is because I installed before is docker1.17. The default drive is systemd. Systemd is not start because of kubelet. So I changed manually driven: cgroupfs.

 

But the problem lies here. Changed after the deployment ingress-nginx is out of the question. Is not life and death through health checks. So I changed docker 18.3 version. And kube-proxy configuration file which add

Increase --masquerade-all = true parameter kube-proxy configuration file (/ opt / kubernetes / cfg / kube-proxy), then restart kube-proxy, then rebuild ingress-controller.

At this step, you will find that it seems no good.

pkill docker

systemctl   restart    kube-proxy

 

To this step ok.

 

Guess you like

Origin www.cnblogs.com/xingyunfashi/p/11493270.html