1、编辑kube-proxy 配置

kubectl edit cm kube-proxy -n kube-system

将mode: iptables 修改成 mode: ipvs

2、重启kube-proxy

[root@k8s-master ~]# kubectl get pod -n kube-system | grep kube-proxy |awk '{system("kubectl delete pod "$1" -n kube-system")}'

3、查看日志: kubectl logs -f -n kube-system kube-proxy-62fk7



修改 kube-proxy网络模式,并重启kube-proxy_网络