Speedscale Sidecar
The sidecar is used to collect data from an existing application.

Install with Operator

The easiest way to add the sidecar to your pod and start gaining visibility is to install the Speedscale operator. Please install the Kubernetes Operator before moving on to the next step.

Add the Sidecar Annotation to Your Deployment

Select the pod you'd like to monitor and add the following annotation to your deployment:
1
annotations:
2
sidecar.speedscale.com/inject: "true"
Copied!
That's it. Next time you deploy you can check the pods with get pods.
1
kubectl -n <namespace> get pods
Copied!
You should notice your pod count increases by one and data should be flowing.
1
NAME READY STATUS RESTARTS AGE
2
carts-xxxxxxxxxx-xxxxx 2/2 Running 0 38d
Copied!
By default, the Speedscale init container starts after any existing init containers in the pod.

Remove the Sidecar from Your Deployment

If you already have the sidecar installed, but you need for it to be removed, you add another annotation to your deployment with the instruction to remove:
1
annotations:
2
sidecar.speedscale.com/remove: "true"
Copied!
After deploying or patching your deployment, you should notice your pod count decrease by one and the sidecar is no longer attached.
Last modified 6mo ago