TCPSocketAction

io.k8s.api.core.v1.TCPSocketAction source ↗

TCPSocketAction describes an action based on opening a socket

hoststringOptional: Host name to connect to, defaults to the pod IP.
portIntOrString requiredNumber or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.