traffic_split.proto

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

  http://www.apache.org/licenses/LICENSE-2.0

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.

Types:

Source File: github.com/solo-io/supergloo/api/external/smi/split/v1alpha1/traffic_split.proto

TrafficSplit

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

"metadata": .core.solo.io.Metadata
"spec": .smi.split.v1alpha1.TrafficSplitSpec
Field Type Description Default
metadata .core.solo.io.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: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

TrafficSplitSpec

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

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