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

"spec": .smi.split.v1alpha1.TrafficSplitSpec
Field Type Description Default
metadata Metadata contains the object metadata for this resource
spec .smi.split.v1alpha1.TrafficSplitSpec Specification of the desired behavior of the traffic split. More info:


TrafficSplitSpec is the specification for a TrafficSplit

"service": string
"backends": []smi.split.v1alpha1.TrafficSplitBackend
Field Type Description Default
service string
backends []smi.split.v1alpha1.TrafficSplitBackend


TrafficSplitBackend defines a backend

"service": string
"weight": string
Field Type Description Default
service string
weight string represents a kubernetes resource.Quantity e.g. in the format 1000m == 1