From 5c99be9b2a5261b2dd82d4d82764f15d7d403351 Mon Sep 17 00:00:00 2001
From: Shriram Rajagopalan Configuration affecting traffic routing. Here are a few terms useful to define
in the context of traffic routing.
CaptureMode describes how traffic to a listener is expected to be +captured. Applicable only when the listener is bound to an IP.
+ +| Name | +Description | +
|---|---|
DEFAULT |
+
+ The default capture mode defined by the environment + + |
+
IPTABLES |
+
+ Capture traffic using IPtables redirection + + |
+
NONE |
+
+ No traffic capture. When used in egress listener, the application is +expected to explicitly communicate with the listener port/unix +domain socket. When used in ingress listener, care needs to be taken +to ensure that the listener port is not in use by other processes on +the host. + + |
+
ConfigScope defines the visibility of an Istio configuration artifact in @@ -2151,12 +2192,43 @@
portPortThe port associated with the listener. If using unix domain socket, +use 0 as the port number, with a valid protocol. The port if +specified, will be used as the default destination port associated +with the imported hosts. If the port is omitted, Istio will infer the +listener ports based on the imported hosts. Note that when multiple +egress listeners are specified, where one or more listeners have +specific ports while others have no port, the hosts exposed on a +listener port will be based on the listener with the most specific +port.
+ +bindstringThe ip or the unix domain socket to which the listener should be bound +to. Port MUST be specified if bind is not empty. Format: x.x.x.x or +unix:///path/to/uds or unix://@foobar (Linux abstract namespace). If +omitted, Istio will autoconfigure the defaults based on imported +services, the workload to which this configuration is applied to and +the captureMode. If captureMode is NONE, bind will default to +127.0.0.1.
+ +captureModeCaptureModeWhen the bind address is an IP, the captureMode option dictates -how traffic to the listener is expected to be captured (or not).
+how traffic to the listener is expected to be captured (or not). +captureMode must be DEFAULT or NONE for unix domain socket binds.hostsstring[]One or more services/virtualServices exposed by the listener in -namespace/dnsName format. Publicly scoped services and +
REQUIRED: One or more services/virtualServices exposed by the listener +in namespace/dnsName format. Publicly scoped services and VirtualServices from remote namespaces corresponding to the specified hosts will be imported. The service in a namespace can be a service in the service registry (e.g., a kubernetes or cloud foundry service) or @@ -2183,6 +2255,67 @@
IstioIngressListener specifies the properties of an inbound +traffic listener on the sidecar proxy attached to a workload.
+ +