Package: smi.split.v1alpha1

Copyright 2018 Istio Authors

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Source File:


TrafficTarget associates a set of traffic definitions (rules) with a service identity which is allocated to a group of pods. Access is controlled via referenced TrafficSpecs and by a list of source service identities. * If a pod which holds the referenced service identity makes a call to the destination on one of the defined routes then access will be allowed * Any pod which attempts to connect and is not in the defined list of sources will be denied * Any pod which is in the defined list, but attempts to connect on a route which is not in the list of the TrafficSpecs will be denied

"matches": []smi.split.v1alpha1.HTTPMatch
Field Type Description Default
metadata Metadata contains the object metadata for this resource
matches []smi.split.v1alpha1.HTTPMatch Routes for inbound traffic


HTTPMatch defines an individual route for HTTP traffic

"name": string
"methods": []string
"pathRegex": string
Field Type Description Default
name string Name is the name of the match for referencing in a TrafficTarget
methods []string Methods for inbound traffic as defined in RFC 7231
pathRegex string PathRegex is a regular expression defining the route