The two attached files (apiclarity-values.yaml
and envoy-filter.yaml
)
can be used to perform a vastly simplified installation of API Clarity
to any Kubernetes cluster where Istio is already present.
To do so, first apply envoy-filter.yaml
however you normally deploy workloads to your cluster.
e.x.
kubectl apply -f path/to/envoy-filter.yaml
Then follow the usual Helm installation guide
from the official API Clarity repo, using the attached apiclarity-values.yaml
file in place
of the "default" values file referenced in step 2.
Once API Clarity has been deployed and becomes "ready", any other workload¹ in your cluster can be made to "report"
its API traffic by applying the label(s) specified by {filter}.spec.workloadSelector.labels
.
e.x.
kubectl label deployment my-super-cool-deployment tracing.apiclarity.io/enabled=true
After applying the appropriate label(s) to your desired workload(s), you should be able to continue as normal from step 5 of the API Clarity Helm installation guide.
- "workload" here meaning:
- daemonsets
- deployments
- statefulsets