• Kubernetes Submit Queue's avatar
    Merge pull request #42902 from louyihua/allow-tcp-probe-host · f9e87e1d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 42998, 42902, 42959, 43020, 42948)
    
    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.
    
    ```release-note
    Add Host field to TCPSocketAction
    ```
    f9e87e1d
Name
Last commit
Last update
..
endpoints Loading commit data...
pod Loading commit data...
service Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
backward_compatibility_test.go Loading commit data...
conversion.go Loading commit data...
conversion_test.go Loading commit data...
defaults.go Loading commit data...
defaults_test.go Loading commit data...
doc.go Loading commit data...
generate.go Loading commit data...
generated.pb.go Loading commit data...
generated.proto Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
meta.go Loading commit data...
ref.go Loading commit data...
register.go Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
types.generated.go Loading commit data...
types.go Loading commit data...
types_swagger_doc_generated.go Loading commit data...
zz_generated.conversion.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...
zz_generated.defaults.go Loading commit data...