Skip to content

kubectl: support Go runtime execution tracing #1720

Open
kubernetes/kubernetes
#130500
@nsrip-dd

Description

@nsrip-dd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.sig/cliCategorizes an issue or PR as relevant to SIG CLI.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    • Status

      Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions