Class Port (1.17.1)

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

Represents a network port in a container.

Attribute

Name Description
container_port int
The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

Inheritance

builtins.object > proto.message.Message > Port