Istio Direct Mode Traffic Service

import { PanelContent, PanelContentCode, } from “@theme/Panel”;

Service to manage traffic settings in Istio Direct mode.

IstioTraffic

The Istio Traffic service provides methods to manage traffic settings in Istio direct mode.

The methods in this service allow users to push Istio traffic configuration resources into TSB. All properties of the TSB resource hierarchies apply as well to these resources: grouping, access control policies in the management plane, etc.

CreateVirtualService

rpc CreateVirtualService (tetrateio.api.tsb.types.v2.CreateIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires CREATE

Create an Istio VirtualService in the given traffic group. Note that the VirtualService must be in one of the namespaces owned by the group.

GetVirtualService

rpc GetVirtualService (tetrateio.api.tsb.types.v2.GetIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires READ

Get the details of the given Istio VirtualService

UpdateVirtualService

rpc UpdateVirtualService (tetrateio.api.tsb.types.v2.IstioObject) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires WRITE

Modify an existing Istio VirtualService

ListVirtualServices

rpc ListVirtualServices (tetrateio.api.tsb.types.v2.ListIstioObjectsRequest) returns (tetrateio.api.tsb.types.v2.ListIstioObjectsResponse)

List all Istio VirtualServices that are attached to the given traffic group.

DeleteVirtualService

rpc DeleteVirtualService (tetrateio.api.tsb.types.v2.DeleteIstioObjectRequest) returns (google.protobuf.Empty)

Requires DELETE

Delete the given Istio VirtualService.

CreateDestinationRule

rpc CreateDestinationRule (tetrateio.api.tsb.types.v2.CreateIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires CREATE

Create an Istio DestinationRule in the given traffic group.

GetDestinationRule

rpc GetDestinationRule (tetrateio.api.tsb.types.v2.GetIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires READ

get the details of the given Istio DestinationRule.

UpdateDestinationRule

rpc UpdateDestinationRule (tetrateio.api.tsb.types.v2.IstioObject) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires WRITE

Modify the given Istio DestinationRule.

ListDestinationRules

rpc ListDestinationRules (tetrateio.api.tsb.types.v2.ListIstioObjectsRequest) returns (tetrateio.api.tsb.types.v2.ListIstioObjectsResponse)

List all Istio DestinationRules that have been attached to the given traffic group.

DeleteDestinationRule

rpc DeleteDestinationRule (tetrateio.api.tsb.types.v2.DeleteIstioObjectRequest) returns (google.protobuf.Empty)

Requires DELETE

Delete the given Istio DestinationRule.

CreateSidecar

rpc CreateSidecar (tetrateio.api.tsb.types.v2.CreateIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires CREATE

Create an Istio Sidecar resource in the given traffic group.

GetSidecar

rpc GetSidecar (tetrateio.api.tsb.types.v2.GetIstioObjectRequest) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires READ

Get the details of the given Istio Sidecar resource.

UpdateSidecar

rpc UpdateSidecar (tetrateio.api.tsb.types.v2.IstioObject) returns (tetrateio.api.tsb.types.v2.IstioObject)

Requires WRITE

Modify the given Istio Sidecar resource.

ListSidecars

rpc ListSidecars (tetrateio.api.tsb.types.v2.ListIstioObjectsRequest) returns (tetrateio.api.tsb.types.v2.ListIstioObjectsResponse)

List all Istio Sidecar resources that have been attached to the given traffic group.

DeleteSidecar

rpc DeleteSidecar (tetrateio.api.tsb.types.v2.DeleteIstioObjectRequest) returns (google.protobuf.Empty)

Requires DELETE

Delete the given Istio Sidecar resource.