Enable IPVS Mode in Kube Proxy on a ready Kubernetes Local Cluster

前端 未结 1 1510
醉话见心
醉话见心 2021-01-20 07:56

I want to enable the Kube-proxy mode to IPVS in the existing cluster. currently, it is running on IPtables. how can I change it to IPVS without affecting the existing worklo

相关标签:
1条回答
  • 2021-01-20 08:47

    Edit the configmap

    kubectl edit configmap kube-proxy -n kube-system
    

    change mode from "" to ipvs

    mode: ipvs
    

    Kill any kube-proxy pods

    kubectl get po -n kube-system
    kubectl delete po -n kube-system <pod-name>
    

    Verify kube-proxy is started with ipvs proxier

    kubectl logs [kube-proxy pod] | grep "Using ipvs Proxier"
    
    0 讨论(0)
提交回复
热议问题