• Lou Yihua's avatar
    Add Host field to TCPSocketAction · 63f1b077
    Lou Yihua authored
    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.
    63f1b077
Name
Last commit
Last update
..
results Loading commit data...
testing Loading commit data...
BUILD Loading commit data...
common_test.go Loading commit data...
prober.go Loading commit data...
prober_manager.go Loading commit data...
prober_manager_test.go Loading commit data...
prober_test.go Loading commit data...
worker.go Loading commit data...
worker_test.go Loading commit data...