k8s学习笔记——将iptables模式转为ipvs
K8S中iptables和ipvs区别https://blog.csdn.net/qq_36807862/article/details/106068871kubectl edit cm kube-proxy -n kube-system//修改kind: KubeProxyConfigurationmetricsBindAddress: 127.0.0.1:10249mode: "ipvs"//
·
K8S中iptables和ipvs区别
https://blog.csdn.net/qq_36807862/article/details/106068871
kubectl edit cm kube-proxy -n kube-system
//修改
kind: KubeProxyConfiguration
metricsBindAddress: 127.0.0.1:10249
mode: "ipvs"
//重启kube-proxy
kubectl get pod -n kube-system |grep kube-proxy |awk '{system("kubectl delete pod "$1" -n kube-system")}'
//查看是否已启动新pod
//用logs查看是否有错误,是否是ipvs模式
更多推荐
已为社区贡献29条内容
所有评论(0)