Represents a network port in a container.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#container_port
def container_port() -> ::Integer
Returns
- (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.
#container_port=
def container_port=(value) -> ::Integer
Parameter
- value (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.
Returns
- (::Integer) — The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.