kubernetes v1.37

PodSpec.containers.lifecycle.postStart.tcpSocket

TCPSocketAction describes an action based on opening a socket

2 fields
PodSpec.containers.lifecycle.postStart.tcpSocket fields and descriptions
Field / TypeDescription
host
string

Optional: Host name to connect to, defaults to the pod IP.

IntOrString required

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.

  • format: int-or-string