ServiceEntry
networking.istio.io / v1beta1
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: example
spec object
Configuration affecting service registry. See more details at: https://istio.io/docs/reference/config/networking/service-entry.html
addresses
[]string
The virtual IP addresses associated with the service.
endpoints []object
One or more endpoints associated with the service.
maxItems:
4096
address
string
Address associated with the network endpoint without the port.
maxLength:
256
labels
object
One or more labels associated with the endpoint.
locality
string
The locality associated with the endpoint.
maxLength:
2048
network
string
Network enables Istio to group endpoints resident in the same L3 domain/network.
maxLength:
2048
ports
object
Set of ports associated with the endpoint.
serviceAccount
string
The service account associated with the workload if a sidecar is present in the workload.
maxLength:
253
weight
integer
The load balancing weight associated with the endpoint.
minimum:
0maximum:
4.294967295e+09
exportTo
[]string
A list of namespaces to which this service is exported.
hosts
[]string required
The hosts associated with the ServiceEntry.
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_INTERNALports []object
The ports associated with the external service.
name
string required
Label assigned to the port.
number
integer required
A valid non-negative integer port number.
minimum:
0maximum:
4.294967295e+09
protocol
string
The protocol exposed on the port.
targetPort
integer
The port number on the endpoint where the traffic will be received.
minimum:
0maximum:
4.294967295e+09
resolution
string
Service resolution mode for the hosts.
Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN
enum:
NONE, STATIC, DNS, DNS_ROUND_ROBIN
subjectAltNames
[]string
If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.
workloadSelector object
Applicable only for MESH_INTERNAL services.
labels
object
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
status
object
No matches. Try .spec.addresses for an exact path