workload.proto

Package : discovery.mesh.gloo.solo.io

Top

workload.proto

Table of Contents

WorkloadSpec

Describes a workload controlled by a discovered service mesh.

Field Type Label Description
kubernetes discovery.mesh.gloo.solo.io.WorkloadSpec.KubernetesWorkload Information describing workloads backed by Kubernetes Pods.
mesh core.skv2.solo.io.ObjectRef The Mesh with which this Workload is associated.
appMesh discovery.mesh.gloo.solo.io.WorkloadSpec.AppMesh Metadata specific to an App Mesh controlled workload.

WorkloadSpec.AppMesh

Metadata specific to an App Mesh controlled workload.

Field Type Label Description
virtualNodeName string The value of the env var APPMESH_VIRTUAL_NODE_NAME on the App Mesh envoy proxy container.
ports []discovery.mesh.gloo.solo.io.WorkloadSpec.AppMesh.ContainerPort repeated Ports exposed by this workload. Needed for declaring App Mesh VirtualNode listeners.

WorkloadSpec.AppMesh.ContainerPort

Kubernetes application container ports.

Field Type Label Description
port uint32
protocol string

WorkloadSpec.KubernetesWorkload

Describes a Kubernetes workload (e.g. a Deployment or DaemonSet).

Field Type Label Description
controller core.skv2.solo.io.ClusterObjectRef Resource reference to the Kubernetes Pod controller (i.e. Deployment, ReplicaSet, DaemonSet) for this Workload..
podLabels []discovery.mesh.gloo.solo.io.WorkloadSpec.KubernetesWorkload.PodLabelsEntry repeated Labels on the Pod itself (read from metadata.labels), which are used to determine which Services front this workload.
serviceAccountName string Service account associated with the Pods owned by this controller.

WorkloadSpec.KubernetesWorkload.PodLabelsEntry

Field Type Label Description
key string
value string

WorkloadStatus

Field Type Label Description
observedGeneration int64 The observed generation of the Workload. When this matches the Workload's metadata.generation it indicates that Gloo Mesh has processed the latest version of the Workload.
appliedAccessLogRecords []discovery.mesh.gloo.solo.io.WorkloadStatus.AppliedAccessLogRecord repeated The set of AccessLogRecords that have been applied to this Workload.
appliedWasmDeployments []discovery.mesh.gloo.solo.io.WorkloadStatus.AppliedWasmDeployment repeated The set of WasmDeployments that have been applied to this Workload.

WorkloadStatus.AppliedAccessLogRecord

Describes an AccessLogRecord that applies to this Workload.

Field Type Label Description
ref core.skv2.solo.io.ObjectRef Reference to the AccessLogRecord object.
observedGeneration int64 The observed generation of the accepted AccessLogRecord.
errors []string repeated Any errors encountered while processing the AccessLogRecord object

WorkloadStatus.AppliedWasmDeployment

Describes a WasmDeployment that applies to this Workload.

Field Type Label Description
ref core.skv2.solo.io.ObjectRef Reference to the WasmDeployment object.
observedGeneration int64 The observed generation of the WasmDeployment.
errors []string repeated Any errors encountered while processing the WasmDeployment object.