k3s/pkg/kubelet/prober
Lou Yihua 63f1b077dc Add Host field to TCPSocketAction
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.
2017-03-14 23:48:28 +08:00
..
results refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
testing start the apimachinery repo 2017-01-11 09:09:48 -05:00
BUILD ExecProbes should be able to do simple env var substitution 2017-02-28 22:46:04 -05:00
common_test.go ExecProbes should be able to do simple env var substitution 2017-02-28 22:46:04 -05:00
prober.go Add Host field to TCPSocketAction 2017-03-14 23:48:28 +08:00
prober_manager.go move client/record 2017-01-31 19:14:13 -05:00
prober_manager_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
prober_test.go ExecProbes should be able to do simple env var substitution 2017-02-28 22:46:04 -05:00
worker.go ExecProbes should be able to do simple env var substitution 2017-02-28 22:46:04 -05:00
worker_test.go Revert "Merge pull request #41202 from dashpole/revert-41095-deletion_pod_lifecycle" 2017-02-15 08:44:03 -08:00