mirror of https://github.com/k3s-io/k3s
![]() Currently, TCPSocketAction always uses Pod's IP in connection. But when a pod uses the host network, sometimes firewall rules may prevent kubelet from connecting through the Pod's IP. This PR introduces the 'Host' field for TCPSocketAction, and if it is set to non-empty string, the probe will be performed on the configured host rather than the Pod's IP. This gives users an opportunity to explicitly specify 'localhost' as the target for the above situations. |
||
---|---|---|
.. | ||
results | ||
testing | ||
BUILD | ||
common_test.go | ||
prober.go | ||
prober_manager.go | ||
prober_manager_test.go | ||
prober_test.go | ||
worker.go | ||
worker_test.go |