k3s/pkg/daemons/control
jvassev 913005658c
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
tunnel: handle pod IP reuse (#13212)
* tunnel: handle pod IP reuse

a valid tunnel/session may be deleted when an IP is reused while a
Complete pod (for example a job) was using that IP but is being gc'ed.

This causes timeouts to webhooks after directDial is attempted because
session was removed.

Solution is to track the owner of the IP and delete the entry only when
the the owner pod is deleted.

Signed-off-by: Julian Vassev <jvassev@gmail.com>
2025-11-19 20:43:36 -08:00
..
deps fix: Remove unused legacy certificates 2025-06-24 12:31:47 -07:00
proxy Avoid use of github.com/pkg/errors functions that capture stack 2025-03-05 00:41:38 -08:00
server.go Replace raw ListWatch with NewListWatchFromClient 2025-10-27 15:06:45 -07:00
server_test.go Use sync.WaitGroup to avoid exiting before components have shut down 2025-09-17 09:37:08 -07:00
tunnel.go tunnel: handle pod IP reuse (#13212) 2025-11-19 20:43:36 -08:00