mesh_service.proto

Package : discovery.smh.solo.io

Top

mesh_service.proto

Table of Contents

MeshServiceSpec

The MeshService is an abstraction for a service which we have discovered to be part of a given mesh. The Mesh object has references to the MeshServices which belong to it.

Field Type Label Description
kubeService MeshServiceSpec.KubeService Metadata about the kube-native service backing this MeshService.
mesh core.smh.solo.io.ResourceRef The mesh with which this service is associated.
subsets []MeshServiceSpec.SubsetsEntry repeated Subsets for routing, based on labels.
federation MeshServiceSpec.Federation Metadata about the decisions that Service Mesh Hub has made about what workloads this service is federated to.

MeshServiceSpec.Federation

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

MeshServiceSpec.KubeService

Field Type Label Description
ref core.smh.solo.io.ResourceRef A reference to the kube-native service that this MeshService represents.
workloadSelectorLabels []MeshServiceSpec.KubeService.WorkloadSelectorLabelsEntry repeated Selectors for the set of pods targeted by the k8s Service.
labels []MeshServiceSpec.KubeService.LabelsEntry repeated Labels on the underlying k8s Service itself.
ports []MeshServiceSpec.KubeService.KubeServicePort repeated The ports exposed by the underlying service.

MeshServiceSpec.KubeService.KubeServicePort

Field Type Label Description
port uint32 external-facing port for this service (i.e., NOT the service's target port on the backing pods)
name string
protocol string

MeshServiceSpec.KubeService.LabelsEntry

Field Type Label Description
key string
value string

MeshServiceSpec.KubeService.WorkloadSelectorLabelsEntry

Field Type Label Description
key string
value string

MeshServiceSpec.Subset

Field Type Label Description
values []string repeated

MeshServiceSpec.SubsetsEntry

Field Type Label Description
key string
value MeshServiceSpec.Subset

MeshServiceStatus

Field Type Label Description
federationStatus core.smh.solo.io.Status The status of federation artifacts being written to remote clusters as a result of the federation metadata on this object's Spec.
validatedTrafficPolicies []MeshServiceStatus.ValidatedTrafficPolicy repeated

MeshServiceStatus.ValidatedTrafficPolicy

Field Type Label Description
ref core.smh.solo.io.ResourceRef
trafficPolicySpec networking.smh.solo.io.TrafficPolicySpec