istio v1.31.0

ServiceEntry.spec.ports

The ports associated with the external service.

4 fields
ServiceEntry.spec.ports fields and descriptions
Field / TypeDescription
name
string required

Label assigned to the port.

  • maxLength: 256
number
integer required

A valid non-negative integer port number.

  • minimum: 0
  • maximum: 4294967295
  • x-kubernetes-validations: [{"message":"port must be between 1-65535","rule":"0 \u003c self \u0026\u0026 self \u003c= 65535"}]
protocol
string

The protocol exposed on the port.

  • maxLength: 256
targetPort
integer

The port number on the endpoint where the traffic will be received.

  • minimum: 0
  • maximum: 4294967295
  • x-kubernetes-validations: [{"message":"port must be between 1-65535","rule":"0 \u003c self \u0026\u0026 self \u003c= 65535"}]