k3s
k3s copied to clipboard
Upgrading a k3s node with ipvs as kube-proxy-mode renders NodePort unreachable
Environmental Info: K3s Version: k3s version v1.22.5+k3s1 (405bf79d)
Node(s) CPU architecture, OS, and Version: Linux hostname 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration: Single node
Describe the bug: Upgrading a k3s node with ipvs as kube-proxy-mode renders NodePort unreachable
Steps To Reproduce:
- Installed K3s:
- Use ipvs as proxy mode
- Upgrade via UpgradController
- NodePorts are unreachable with connection failed
Expected behavior: Upgrade a node should not render NodePort unreachable
Actual behavior: NodePort are unreachable
Fix Rebooting the node fixes the issue, using k3s-killall.sh or restarting k3s service DID NOT fix the issue. Is this a known issue?
i have the same problem
I suspect this is an upstream issue, or perhaps related to the host OS. We're not doing anything special with kube-proxy.
@vincentchivas are you also on EL7?
same issue on ubuntu 22.04 and v1.22.2+k3s2
I tested with an upgrade from k3s 1.25.6 to 1.26.1 and the NodePort was still reachable after the upgrade.
Command used to install k3s:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik,metrics-server,--kube-proxy-arg=ipvs-scheduler=lc,proxy-mode=ipvs" sh -s -
Closing, as we cannot reproduce with more recent versions