Make sure the container has the SUBTRACE_TOKEN environment variable in your deployment YAML. Typically, this is done
with a Kubernetes secret, but if you’re using an external
secret manager, consult its documentation. If you don’t have a Subtrace token yet, go to the Tokens page on the
dashboard and create a tracer token.
Don’t forget to set the securityContext field in the container spec. Subtrace needs the SYS_PTRACE capability in
order to trace your app’s requests.
Apply your changes to the EKS cluster. You can do this using the AWS CLI:
You can verify that your deployments are healthy in the Overview tab for your cluster in AWS:And that’s it! You should now be able to see your pod’s HTTP requests on the Subtrace dashboard.