k8e icon indicating copy to clipboard operation
k8e copied to clipboard

remove kube-proxy component

Open xiaods opened this issue 2 years ago • 7 comments

xiaods avatar Jul 01 '22 09:07 xiaods

use cilium as replacement tools for kube-proxy

xiaods avatar Jul 26 '22 05:07 xiaods

cilium v1.12.0 support kube-proxy replacement. https://docs.cilium.io/en/stable/gettingstarted/kubeproxy-free/

xiaods avatar Jul 26 '22 17:07 xiaods

without kube-proxy, we need specified setting API_SERVER_IP=<your_api_server_ip>

xiaods avatar Jul 26 '22 17:07 xiaods

API_SERVER_IP=<your_api_server_ip>
# Kubeadm default is 6443
API_SERVER_PORT=<your_api_server_port>
helm install cilium cilium/cilium --version 1.12.0 \
    --namespace kube-system \
    --set kubeProxyReplacement=strict \
    --set k8sServiceHost=${API_SERVER_IP} \
    --set k8sServicePort=${API_SERVER_PORT}

xiaods avatar Jul 26 '22 18:07 xiaods

for k8e cluster setup, the first apiserver is first machine IP. I need manually add the node IP to this --set k8sServiceHost. it's not very well. we need installer to compose the commands.

xiaods avatar Jul 27 '22 15:07 xiaods

it's time to remove kubeproxy in 1.25

xiaods avatar Sep 20 '22 01:09 xiaods

cilium 1.12.2 default remove kubeproxy

k8e codebase should be move first and remove kubeproxy code base.

xiaods avatar Oct 11 '22 13:10 xiaods

I found ebpf have some performance issue for kube-proxy disable mode. i will investing the issue.

xiaods avatar Oct 16 '22 13:10 xiaods

确切的说,有一些老的应用依赖iptables。所以并不能完全删除kube-proxy。

xiaods avatar Nov 17 '22 21:11 xiaods

osm-edge依赖。

xiaods avatar Nov 17 '22 21:11 xiaods

目前还不能删除kubeproxy能力

xiaods avatar Dec 12 '22 14:12 xiaods

osm-edge依赖。

osm-edge support ebpf also. we can remove kube-proxy totoly.

xiaods avatar Mar 16 '23 15:03 xiaods