kubectl icon indicating copy to clipboard operation
kubectl copied to clipboard

kubectl: support Go runtime execution tracing

Open nsrip-dd opened this issue 10 months ago • 4 comments

What would you like to be added?

Support for running kubectl with the Go runtime execution tracer enabled.

Why is this needed?

There is already support for enabling most of the runtime profilers via the --profile option, but not for the runtime execution tracer. The tracer is useful for finding concurrency bottlenecks and understanding off-CPU time, including networking, in a way that isn't possible with any of the other Go profilers. Having it would make it easier to debug latency issues in kubectl.

I'm happy to send a PR implementing this.

nsrip-dd avatar Feb 19 '25 18:02 nsrip-dd

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Feb 19 '25 18:02 k8s-ci-robot

/sig cli

nsrip-dd avatar Feb 19 '25 22:02 nsrip-dd

/transfer kubectl

HirazawaUi avatar Feb 20 '25 12:02 HirazawaUi

/triage accepted This sounds like a good idea, we would be happy to accept a PR to enable this.

mpuckett159 avatar Feb 26 '25 17:02 mpuckett159

/assign

tchap avatar Oct 23 '25 14:10 tchap