Skip to content

Questions about using pprof to obtain information related to k3s #10828

Closed Answered by brandond
YYM0093 asked this question in Q&A
Discussion options

You must be logged in to vote

You can't get individual info for separate components, because k3s runs all the Kubernetes components - including the kubelet - in a single process. This is the entire value proposition of k3s and is covered in the docs.

You can get it from agent in the same way you do on the server - by enabling pprof on the command line and hitting the pprof debug endpoint on the supervisor port.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dereknola
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@brandond
Comment options

@YYM0093
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10827 on September 05, 2024 14:46.