Class ContainerPort (0.8.1)

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

ContainerPort represents a network port in a single container.

Attributes

NameDescription
name str
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
container_port int
Port number the container listens on. This must be a valid TCP port number, 0 < container_port="">< 65536.="">