Skip to content

tcpSocket

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.

object

PropertyTypeRequiredDefaultDescription
hoststring / nullNo-Optional: Host name to connect to, defaults to the pod IP.
portstring / integerYes-Number or name of the port to access on the container. Nu…

Number 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.