Open CiraciNicolo opened 1 month ago
Also, I don't know if related, I see a lot of errors:
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:43.303677 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:43.318113 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:44.413434 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:44.427963 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:44.442445 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:45.541091 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:45.556966 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:45.572167 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:46.685740 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:46.700273 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:47.814334 2724900 tproxy_tcp_linux.go:219] connection refused
kube-system/kube-ovn-cni-hh5fb[cni-server]: E0723 12:23:47.829467 2724900 tproxy_tcp_linux.go:219] connection refuse
Maybe a more verbose logs should ease the troubleshoot?
@changluyi can you take a look at this?
Kube-OVN Version
v1.12.19
Kubernetes Version
v.1.9.6
Operation-system/Kernel Version
"Ubuntu 22.04.4 LTS" 5.15.0-116-generic
Description
The TPROXY feature is failing if a probe is using a named port instead of a port number
Steps To Reproduce
This example is taken from cert-manager
Current Behavior
The probe fails and the tproxy logs reports the following error:
Expected Behavior
Probes should works. TPROXY should not use the port name but should try to infer the port number from the ports definition. Furthermore TPROXY just stop working and no further proxies are applied in the node.
Current workaround
Edit the deployment and use the port number