简体   繁体   中英

Is there a step by step instruction to enable tracing of kubernetes components?

提示:本站收集StackOverFlow近2千万问答,支持中英文搜索,鼠标放在语句上弹窗显示对应的参考中文或英文, 本站还提供   中文简体   中文繁体   中英对照 版本,有任何建议请联系yoyou2525@163.com。

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

--feature-gates=APIServerTracing=true
--tracing-config-file=/tmp/tracing.conf

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 https://opentelemetry.io/docs/collector/getting-started/#kubernetes but

Appreciate your suggestions!

No answers.You can refer to the related questions on the right.
5 Step few instruction with GDB

si is step 1 instruction , How can I move few steps with 1 GDB commands? For example I want to skip 3 instruction after address 0xabcd But this sk ...

暂无
暂无

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2022 STACKOOM.COM