--- title: istio.mesh.v1alpha1 layout: protoc-gen-docs generator: protoc-gen-docs aliases: - /docs/reference/config/service-mesh.html number_of_entries: 18 ---
AuthenticationPolicy defines authentication policy. It can be set for different scopes (mesh, service …), and the most narrow scope with non-INHERIT value will be used. Mesh policy cannot be INHERIT.
Name | Description |
---|---|
NONE |
Do not encrypt Envoy to Envoy traffic. |
MUTUAL_TLS |
Envoy to Envoy traffic is wrapped into mutual TLS connections. |
INHERIT |
Use the policy defined by the parent scope. Should not be used for mesh policy. |
ConfigSource describes information about a configuration store inside a mesh. A single control plane instance can interact with one or more data sources.
MeshConfig defines mesh-wide variables shared by all Envoy instances in the Istio service mesh.
NOTE: This configuration type should be used for the low-level global configuration, such as component addresses and port numbers. It should not be used for the features of the mesh that can be scoped by service or by namespace. Some of the fields in the mesh config are going to be deprecated and replaced with several individual configuration types (for example, tracing configuration).
Name | Description |
---|---|
TEXT |
|
JSON |
Default service dependency settings for each workload in the mesh. ServiceDependencycontrols the reachability of workloads to other services in the mesh.
Name | Description |
---|---|
ALL_NAMESPACES |
Configure routes to services in all namespaces, i.e. import services from all namespaces. |
SAME_NAMESPACE |
Only configure routes to services that are in the same namespace as the workload as well as services in namespaces specified in importNamespaces. |
Name | Description |
---|---|
OFF |
Disables Istio ingress controller. |
DEFAULT |
Istio ingress controller will act on ingress resources that do not contain any annotation or whose annotations match the value specified in the ingress_class parameter described earlier. Use this mode if Istio ingress controller will be the default ingress controller for the entire kubernetes cluster. |
STRICT |
Istio ingress controller will only act on ingress resources whose annotations match the value specified in the ingress_class parameter described earlier. Use this mode if Istio ingress controller will be a secondary ingress controller (e.g., in addition to a cloud-provided ingress controller). |
Name | Description |
---|---|
REGISTRY_ONLY |
outbound traffic will be restricted to services defined in the service registry as well as those defined through ServiceEntries |
ALLOW_ANY |
outbound traffic to unknown destinations will be allowed |
VIRTUAL_SERVICE_ONLY |
not implemented. outbound traffic will be restricted to destinations defined in VirtualServices only |
MeshNetworks (config map) provides information about the set of networks inside a mesh and how to route to endpoints in each network. For example
MeshNetworks(file/config map): networks: - network1: - endpoints: - fromRegistry: registry1 #must match secret name in kubernetes - fromCidr: 192.168.100.0/22 #a VM network for example gateways: - registryServiceName: istio-ingressgateway.istio-system.svc.cluster.local port: 15443 locality: us-east-1a
Network provides information about the endpoints in a routable L3 network. A single routable L3 network can have one or more service registries. Note that the network has no relation to the locality of the endpoint. The endpoint locality will be obtained from the service registry.
The gateway associated with this network. Traffic from remote networks will arrive at the specified gateway:port. All incoming traffic must use mTLS.
NetworkEndpoints describes how the network associated with an endpoint should be inferred. An endpoint will be assigned to a network based on the following rules:
Implicitly: If the registry explicitly provides information about the network to which the endpoint belongs to. In some cases, its possible to indicate the network associated with the endpoint by adding ISTIOMETANETWORK environment variable to the sidecar.
Explicitly:
a. By matching the registry name with one of the “fromregistries” in the mesh config. A “fromregistry” can only be assinged to a single network.
b. By matching the IP against one of the CIDR ranges in a mesh config network. The CIDR ranges must not overlap and be assigned to a single network.
(2) will override (1) if both are present.
ProxyConfig defines variables for individual Envoy instances.
The mode used to redirect inbound traffic to Envoy. This setting has no effect on outbound traffic: iptables REDIRECT is always used for outbound connections.
Name | Description |
---|---|
REDIRECT |
The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy. This mode loses source IP addresses during redirection. |
TPROXY |
The TPROXY mode uses iptables TPROXY to redirect to Envoy. This mode preserves both the source and destination IP addresses and ports, so that they can be used for advanced filtering and manipulation. This mode also configures the sidecar to run with the CAPNETADMIN capability, which is required to use TPROXY. |
Tracing defines configuration for the tracing performed by Envoy instances.
Lightstep defines configuration for a LightStep tracer.
Zipkin defines configuration for a Zipkin tracer.