Sources
Introduction
Sources are a Custom Resource that define which Kubernetes workloads should be auto-instrumented by Odigos.
Supported Workloads
Odigos supports the following Kubernetes workloads:
- Kubernetes Deployment
- Kubernetes DaemonSet
- Kubernetes StatefulSet
Source Labels
All Sources will automatically have 3 labels applied by a mutating webhook in the instrumentor
component:
odigos.io/workload-name
odigos.io/workload-namespace
odigos.io/workload-kind
The value of these labels will be validated to always match the corresponding fields in spec.workload
. They can be used to group and list Sources, for example:
This will list all Sources
for Deployments
.