traffic_target.proto

Package : discovery.mesh.gloo.solo.io

Top

traffic_target.proto

Table of Contents

TrafficTargetSpec

The TrafficTarget is an abstraction for a traffic target which we have discovered to be part of a given mesh.

Field Type Label Description
kubeService discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService Metadata about the kube-native traffic target backing this TrafficTarget.
mesh core.skv2.solo.io.ObjectRef The mesh with which this traffic target is associated.

TrafficTargetSpec.KubeService

Field Type Label Description
ref core.skv2.solo.io.ClusterObjectRef A reference to the kube-native traffic target that this TrafficTarget represents.
workloadSelectorLabels []discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService.WorkloadSelectorLabelsEntry repeated Selectors for the set of pods targeted by the k8s Service.
labels []discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService.LabelsEntry repeated Labels on the underlying k8s Service itself.
ports []discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService.KubeServicePort repeated The ports exposed by the underlying service.
subsets []discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService.SubsetsEntry repeated Subsets for routing, based on labels.

TrafficTargetSpec.KubeService.KubeServicePort

Field Type Label Description
port uint32 External-facing port for this k8s service (NOT the service's target port on the backing pods).
name string
protocol string
appProtocol string Available in k8s 1.18+, specifies the application protocol.

TrafficTargetSpec.KubeService.LabelsEntry

Field Type Label Description
key string
value string

TrafficTargetSpec.KubeService.Subset

Subsets for routing, based on labels.

Field Type Label Description
values []string repeated

TrafficTargetSpec.KubeService.SubsetsEntry

Field Type Label Description
key string
value discovery.mesh.gloo.solo.io.TrafficTargetSpec.KubeService.Subset

TrafficTargetSpec.KubeService.WorkloadSelectorLabelsEntry

Field Type Label Description
key string
value string

TrafficTargetStatus

Field Type Label Description
observedGeneration int64 The most recent generation observed in the the TrafficPolicy metadata. if the observedGeneration does not match generation, the controller has not received the most recent version of this resource.
appliedTrafficPolicies []discovery.mesh.gloo.solo.io.TrafficTargetStatus.AppliedTrafficPolicy repeated The set of Traffic Policies that have been applied to this TrafficTarget
appliedAccessPolicies []discovery.mesh.gloo.solo.io.TrafficTargetStatus.AppliedAccessPolicy repeated The set of Access Policies that have been applied to this TrafficTarget
localFqdn string The local fully qualified domain
remoteFqdn string The remote fully qualified domain

TrafficTargetStatus.AppliedAccessPolicy

AppliedAccessPolicy represents a access policy that has been applied to the TrafficTarget. if an existing Access Policy becomes invalid, the last applied policy will be used

Field Type Label Description
ref core.skv2.solo.io.ObjectRef reference to the access policy
observedGeneration int64 the observed generation of the accepted access policy
spec networking.mesh.gloo.solo.io.AccessPolicySpec the last known valid spec of the access policy

TrafficTargetStatus.AppliedFederation

Federation policy applied to this TrafficTarget, allowing access to the traffic target from other meshes/clusters.

Field Type Label Description
multiclusterDnsName string For any workload that this traffic target has federated to (i.e., any Workload whose ref appears in federated_to_workloads), a client in that workload will be able to reach this traffic target at this DNS name. This includes workloads on clusters other than the one hosting this service.
federatedToMeshes []core.skv2.solo.io.ObjectRef repeated The list of Meshes which are able to resolve this service's multicluster_dns_name.

TrafficTargetStatus.AppliedTrafficPolicy

AppliedTrafficPolicy represents a traffic policy that has been applied to the TrafficTarget. if an existing Traffic Policy becomes invalid, the last applied policy will be used

Field Type Label Description
ref core.skv2.solo.io.ObjectRef reference to the traffic policy
observedGeneration int64 the observed generation of the accepted traffic policy
spec networking.mesh.gloo.solo.io.TrafficPolicySpec the last known valid spec of the traffic policy