ServiceEntry
networking.istio.io / v1beta1
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: example
spec object required
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.
maxItems:
256endpoints []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.
minItems:
1maxItems:
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_INTERNALports []object
The ports associated with the external service.
maxItems:
256
name
string required
Label assigned to the port.
maxLength:
256
number
integer required
A valid non-negative integer port number.
minimum:
0maximum:
4.294967295e+09
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:
0maximum:
4.294967295e+09
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
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
conditions []object
Current service state of the resource.
lastProbeTime
string
Last time we probed the condition.
format:
date-time
lastTransitionTime
string
Last time the condition transitioned from one status to another.
format:
date-time
message
string
Human-readable message indicating details about last transition.
observedGeneration
string | integer
Resource Generation to which the Condition refers.
reason
string
Unique, one-word, CamelCase reason for the condition's last transition.
status
string
Status is the status of the condition.
type
string
Type is the type of the condition.
observedGeneration
string | integer
validationMessages []object
Includes any errors or warnings detected by Istio's analyzers.
documentationUrl
string
A url pointing to the Istio documentation for this specific error type.
level
string
Represents how severe a message is.
Valid Options: UNKNOWN, ERROR, WARNING, INFO
enum:
UNKNOWN, ERROR, WARNING, INFOtype object
code
string
A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type.
name
string
A human-readable name for the message type.
No matches. Try .spec.addresses for an exact path