networking.istio.io group

v1alpha3 version
spec object

Configuration affecting label/content routing, sni routing, etc. See more details at: https://istio.io/docs/reference/config/networking/virtual-service.html

exportTo []string

A list of namespaces to which this virtual service is exported.

gateways []string

The names of gateways and sidecars that should apply these routes.

hosts []string

The destination hosts to which traffic is being sent.

http []object
corsPolicy object

Cross-Origin Resource Sharing policy (CORS).

allowCredentials boolean
allowHeaders []string
allowMethods []string

List of HTTP methods allowed to access the resource.

allowOrigin []string

The list of origins that are allowed to perform CORS requests.

allowOrigins []object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

exposeHeaders []string
maxAge string
delegate object
name string

Name specifies the name of the delegate VirtualService.

namespace string

Namespace specifies the namespace where the delegate VirtualService resides.

directResponse object

A HTTP rule can either return a direct_response, redirect or forward (default) traffic.

body object

Specifies the content of the response body.

bytes string

response body as base64 encoded bytes.

string string
status integer

Specifies the HTTP response status to be returned.

fault object

Fault injection policy to apply on HTTP traffic at the client side.

abort object
grpcStatus string

GRPC status code to use to abort the request.

http2Error string
httpStatus integer

HTTP status code to use to abort the Http request.

percentage object

Percentage of requests to be aborted with the error code provided.

value number
delay object
exponentialDelay string
fixedDelay string

Add a fixed delay before forwarding the request.

percent integer

Percentage of requests on which the delay will be injected (0-100).

percentage object

Percentage of requests on which the delay will be injected.

value number
headers object
request object
add object
remove []string
set object
response object
add object
remove []string
set object
match []object
authority object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

gateways []string

Names of gateways where the rule should be applied.

headers object
ignoreUriCase boolean

Flag to specify whether the URI matching should be case-insensitive.

method object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

name string

The name assigned to a match.

port integer

Specifies the ports on the host that is being addressed.

queryParams object

Query parameters for matching.

scheme object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

statPrefix string

The human readable prefix to use when emitting statistics for this route.

uri object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

withoutHeaders object

withoutHeader has the same syntax with the header, but has opposite meaning.

mirror object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

mirror_percent integer

Percentage of the traffic to be mirrored by the mirror field.

mirrorPercent integer

Percentage of the traffic to be mirrored by the mirror field.

mirrorPercentage object

Percentage of the traffic to be mirrored by the mirror field.

value number
name string

The name assigned to the route for debugging purposes.

redirect object

A HTTP rule can either return a direct_response, redirect or forward (default) traffic.

authority string
derivePort string
port integer

On a redirect, overwrite the port portion of the URL with this value.

redirectCode integer
scheme string

On a redirect, overwrite the scheme portion of the URL with this value.

uri string
retries object

Retry policy for HTTP requests.

attempts integer

Number of retries to be allowed for a given request.

perTryTimeout string

Timeout per attempt for a given request, including the initial call and any retries.

retryOn string

Specifies the conditions under which retry takes place.

retryRemoteLocalities boolean

Flag to specify whether the retries should retry to other localities.

rewrite object

Rewrite HTTP URIs and Authority headers.

authority string

rewrite the Authority/Host header with this value.

uri string
route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

headers object
request object
add object
remove []string
set object
response object
add object
remove []string
set object
weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

timeout string

Timeout for HTTP requests, default is disabled.

tcp []object
match []object
destinationSubnets []string

IPv4 or IPv6 ip addresses of destination with optional subnet.

gateways []string

Names of gateways where the rule should be applied.

port integer

Specifies the port on the host that is being addressed.

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

sourceSubnet string

IPv4 or IPv6 ip address of source with optional subnet.

route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

tls []object
match []object
destinationSubnets []string

IPv4 or IPv6 ip addresses of destination with optional subnet.

gateways []string

Names of gateways where the rule should be applied.

port integer

Specifies the port on the host that is being addressed.

sniHosts []string

SNI (server name indicator) to match on.

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

status object
v1beta1 version
spec object

Configuration affecting label/content routing, sni routing, etc. See more details at: https://istio.io/docs/reference/config/networking/virtual-service.html

exportTo []string

A list of namespaces to which this virtual service is exported.

gateways []string

The names of gateways and sidecars that should apply these routes.

hosts []string

The destination hosts to which traffic is being sent.

http []object
corsPolicy object

Cross-Origin Resource Sharing policy (CORS).

allowCredentials boolean
allowHeaders []string
allowMethods []string

List of HTTP methods allowed to access the resource.

allowOrigin []string

The list of origins that are allowed to perform CORS requests.

allowOrigins []object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

exposeHeaders []string
maxAge string
delegate object
name string

Name specifies the name of the delegate VirtualService.

namespace string

Namespace specifies the namespace where the delegate VirtualService resides.

directResponse object

A HTTP rule can either return a direct_response, redirect or forward (default) traffic.

body object

Specifies the content of the response body.

bytes string

response body as base64 encoded bytes.

string string
status integer

Specifies the HTTP response status to be returned.

fault object

Fault injection policy to apply on HTTP traffic at the client side.

abort object
grpcStatus string

GRPC status code to use to abort the request.

http2Error string
httpStatus integer

HTTP status code to use to abort the Http request.

percentage object

Percentage of requests to be aborted with the error code provided.

value number
delay object
exponentialDelay string
fixedDelay string

Add a fixed delay before forwarding the request.

percent integer

Percentage of requests on which the delay will be injected (0-100).

percentage object

Percentage of requests on which the delay will be injected.

value number
headers object
request object
add object
remove []string
set object
response object
add object
remove []string
set object
match []object
authority object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

gateways []string

Names of gateways where the rule should be applied.

headers object
ignoreUriCase boolean

Flag to specify whether the URI matching should be case-insensitive.

method object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

name string

The name assigned to a match.

port integer

Specifies the ports on the host that is being addressed.

queryParams object

Query parameters for matching.

scheme object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

statPrefix string

The human readable prefix to use when emitting statistics for this route.

uri object
exact string
prefix string
regex string

RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).

withoutHeaders object

withoutHeader has the same syntax with the header, but has opposite meaning.

mirror object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

mirror_percent integer

Percentage of the traffic to be mirrored by the mirror field.

mirrorPercent integer

Percentage of the traffic to be mirrored by the mirror field.

mirrorPercentage object

Percentage of the traffic to be mirrored by the mirror field.

value number
name string

The name assigned to the route for debugging purposes.

redirect object

A HTTP rule can either return a direct_response, redirect or forward (default) traffic.

authority string
derivePort string
port integer

On a redirect, overwrite the port portion of the URL with this value.

redirectCode integer
scheme string

On a redirect, overwrite the scheme portion of the URL with this value.

uri string
retries object

Retry policy for HTTP requests.

attempts integer

Number of retries to be allowed for a given request.

perTryTimeout string

Timeout per attempt for a given request, including the initial call and any retries.

retryOn string

Specifies the conditions under which retry takes place.

retryRemoteLocalities boolean

Flag to specify whether the retries should retry to other localities.

rewrite object

Rewrite HTTP URIs and Authority headers.

authority string

rewrite the Authority/Host header with this value.

uri string
route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

headers object
request object
add object
remove []string
set object
response object
add object
remove []string
set object
weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

timeout string

Timeout for HTTP requests, default is disabled.

tcp []object
match []object
destinationSubnets []string

IPv4 or IPv6 ip addresses of destination with optional subnet.

gateways []string

Names of gateways where the rule should be applied.

port integer

Specifies the port on the host that is being addressed.

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

sourceSubnet string

IPv4 or IPv6 ip address of source with optional subnet.

route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

tls []object
match []object
destinationSubnets []string

IPv4 or IPv6 ip addresses of destination with optional subnet.

gateways []string

Names of gateways where the rule should be applied.

port integer

Specifies the port on the host that is being addressed.

sniHosts []string

SNI (server name indicator) to match on.

sourceLabels object
sourceNamespace string

Source namespace constraining the applicability of a rule to workloads in that namespace.

route []object
destination object
host string

The name of a service from the service registry.

port object

Specifies the port on the host that is being addressed.

number integer
subset string

The name of a subset within the service.

weight integer

Weight specifies the relative proportion of traffic to be forwarded to the destination.

status object