I'm running Kubernetes version v1.24.0, trying to enable tracing in Kubernetes components and so I can instrument my custom controller to work with tracing. However, the instruction https://kubernetes.io/docs/concepts/cluster-administration/system-traces/#trace-collection is very high level to me. Is there any other detailed instruction on how to enable tracing?
Note: I'm not looking for tracing on applications running in K8s env instead kubernetes components like kube-api-server, controller, kube-manager...
What I've done so far: I've started k8s-api-server with below two args
once the api-server pod is up and running, should I able to see traces when creating a pod in the api-server pod logs? I just see usual logs, nothing specific to tracing. what am I missing?
I tried deploying opentelemetry collector as mentioned at
Appreciate your suggestions!