istio v1.31.0

ServiceEntry.spec

Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html

9 fields
ServiceEntry.spec fields and descriptions
Field / TypeDescription
string[]

The virtual IP addresses associated with the service.

  • maxItems: 256
object[]

One or more endpoints associated with the service.

  • maxItems: 4096
string[]

A list of namespaces to which this service is exported.

string[] required

The hosts associated with the ServiceEntry.

  • minItems: 1
  • maxItems: 256
location
string

Specify whether the service should be considered external to the mesh or part of the mesh. Valid Options: MESH_EXTERNAL, MESH_INTERNAL

  • enum: ["MESH_EXTERNAL","MESH_INTERNAL"]
object[]

The ports associated with the external service.

  • maxItems: 256
  • x-kubernetes-list-map-keys: ["name"]
  • x-kubernetes-list-type: "map"
  • x-kubernetes-validations: [{"message":"port number cannot be duplicated","rule":"self.all(l1, self.exists_one(l2, l1.number == l2.number))"}]
resolution
string

Service resolution mode for the hosts. Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN, DYNAMIC_DNS

  • enum: ["NONE","STATIC","DNS","DNS_ROUND_ROBIN","DYNAMIC_DNS"]
string[]

If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.

object

Applicable only for MESH_INTERNAL services.