# Class TCPSocketAction (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    TCPSocketAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

TCPSocketAction describes an action based on opening a socket

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `port` | `int` Optional. Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports\[0\].containerPort. |