networking.istio.iogroup

v1alpha3version
specobject

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
corsPolicyobject

Cross-Origin Resource Sharing policy (CORS).

allowCredentialsboolean
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
exactstring
prefixstring
regexstring

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

exposeHeaders[]string
maxAgestring
delegateobject
namestring

Name specifies the name of the delegate VirtualService.

namespacestring

Namespace specifies the namespace where the delegate VirtualService resides.

directResponseobject

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

bodyobject

Specifies the content of the response body.

bytesstring

response body as base64 encoded bytes.

stringstring
statusinteger

Specifies the HTTP response status to be returned.

faultobject

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

abortobject
grpcStatusstring

GRPC status code to use to abort the request.

http2Errorstring
httpStatusinteger

HTTP status code to use to abort the Http request.

percentageobject

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

valuenumber
delayobject
exponentialDelaystring
fixedDelaystring

Add a fixed delay before forwarding the request.

percentinteger

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

percentageobject

Percentage of requests on which the delay will be injected.

valuenumber
headersobject
requestobject
addobject
remove[]string
setobject
responseobject
addobject
remove[]string
setobject
match[]object
authorityobject
exactstring
prefixstring
regexstring

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

gateways[]string

Names of gateways where the rule should be applied.

headersobject
ignoreUriCaseboolean

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

methodobject
exactstring
prefixstring
regexstring

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

namestring

The name assigned to a match.

portinteger

Specifies the ports on the host that is being addressed.

queryParamsobject

Query parameters for matching.

schemeobject
exactstring
prefixstring
regexstring

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

sourceLabelsobject
sourceNamespacestring

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

statPrefixstring

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

uriobject
exactstring
prefixstring
regexstring

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

withoutHeadersobject

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

mirrorobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

mirror_percentinteger

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

mirrorPercentinteger

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

mirrorPercentageobject

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

valuenumber
namestring

The name assigned to the route for debugging purposes.

redirectobject

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

authoritystring
derivePortstring
portinteger

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

redirectCodeinteger
schemestring

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

uristring
retriesobject

Retry policy for HTTP requests.

attemptsinteger

Number of retries to be allowed for a given request.

perTryTimeoutstring

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

retryOnstring

Specifies the conditions under which retry takes place.

retryRemoteLocalitiesboolean

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

rewriteobject

Rewrite HTTP URIs and Authority headers.

authoritystring

rewrite the Authority/Host header with this value.

uristring
route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

headersobject
requestobject
addobject
remove[]string
setobject
responseobject
addobject
remove[]string
setobject
weightinteger

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

timeoutstring

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.

portinteger

Specifies the port on the host that is being addressed.

sourceLabelsobject
sourceNamespacestring

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

sourceSubnetstring

IPv4 or IPv6 ip address of source with optional subnet.

route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

weightinteger

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.

portinteger

Specifies the port on the host that is being addressed.

sniHosts[]string

SNI (server name indicator) to match on.

sourceLabelsobject
sourceNamespacestring

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

route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

weightinteger

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

statusobject
v1beta1version
specobject

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
corsPolicyobject

Cross-Origin Resource Sharing policy (CORS).

allowCredentialsboolean
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
exactstring
prefixstring
regexstring

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

exposeHeaders[]string
maxAgestring
delegateobject
namestring

Name specifies the name of the delegate VirtualService.

namespacestring

Namespace specifies the namespace where the delegate VirtualService resides.

directResponseobject

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

bodyobject

Specifies the content of the response body.

bytesstring

response body as base64 encoded bytes.

stringstring
statusinteger

Specifies the HTTP response status to be returned.

faultobject

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

abortobject
grpcStatusstring

GRPC status code to use to abort the request.

http2Errorstring
httpStatusinteger

HTTP status code to use to abort the Http request.

percentageobject

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

valuenumber
delayobject
exponentialDelaystring
fixedDelaystring

Add a fixed delay before forwarding the request.

percentinteger

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

percentageobject

Percentage of requests on which the delay will be injected.

valuenumber
headersobject
requestobject
addobject
remove[]string
setobject
responseobject
addobject
remove[]string
setobject
match[]object
authorityobject
exactstring
prefixstring
regexstring

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

gateways[]string

Names of gateways where the rule should be applied.

headersobject
ignoreUriCaseboolean

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

methodobject
exactstring
prefixstring
regexstring

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

namestring

The name assigned to a match.

portinteger

Specifies the ports on the host that is being addressed.

queryParamsobject

Query parameters for matching.

schemeobject
exactstring
prefixstring
regexstring

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

sourceLabelsobject
sourceNamespacestring

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

statPrefixstring

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

uriobject
exactstring
prefixstring
regexstring

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

withoutHeadersobject

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

mirrorobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

mirror_percentinteger

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

mirrorPercentinteger

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

mirrorPercentageobject

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

valuenumber
namestring

The name assigned to the route for debugging purposes.

redirectobject

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

authoritystring
derivePortstring
portinteger

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

redirectCodeinteger
schemestring

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

uristring
retriesobject

Retry policy for HTTP requests.

attemptsinteger

Number of retries to be allowed for a given request.

perTryTimeoutstring

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

retryOnstring

Specifies the conditions under which retry takes place.

retryRemoteLocalitiesboolean

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

rewriteobject

Rewrite HTTP URIs and Authority headers.

authoritystring

rewrite the Authority/Host header with this value.

uristring
route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

headersobject
requestobject
addobject
remove[]string
setobject
responseobject
addobject
remove[]string
setobject
weightinteger

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

timeoutstring

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.

portinteger

Specifies the port on the host that is being addressed.

sourceLabelsobject
sourceNamespacestring

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

sourceSubnetstring

IPv4 or IPv6 ip address of source with optional subnet.

route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

weightinteger

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.

portinteger

Specifies the port on the host that is being addressed.

sniHosts[]string

SNI (server name indicator) to match on.

sourceLabelsobject
sourceNamespacestring

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

route[]object
destinationobject
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

numberinteger
subsetstring

The name of a subset within the service.

weightinteger

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

statusobject