Skip to main content
Version: 13.x (Current)

Microservice Container Ports

In the detail page of a microservice, you can configure its container ports in the dedicated Container ports card.

info

At least one container port is needed in order to expose the microservice. If you do not set any container port the microservice will be unreachable by any other service in the Project.

container-ports-section

To define a container port, four properties are needed:

  • Port name
  • Port
  • Target Port
  • Protocol

The Port name is the identifier of the port, which can be used to refer to that port in the Console.
The Port field contains the abstracted Kubernetes Service port; this is the port that must be used by other pods to access the Service. The default port value is 80.
The Target Port represents the port that the Kubernetes container accepts traffic on. Our default is 3000.
The Protocol field defines the network protocol used for the Service. The default is TCP but UDP is also supported.