共用方式為


ContainerAppProbeTcpSocket interface

TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.

Properties

host

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

port

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.

Property Details

host

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

host?: string

Property Value

string

port

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.

port: number

Property Value

number