- Enable pprof & optional debug in
config.yamlfor k3s kubectl proxy, shoud choose port 8001 by defaultgo tool pprof http://localhost:8001/debug/pprof/profilefor interactive funtimes
# k3s config ...
debug: true
enable-pprof: true
# restart if necessary ...
# on admin node with kubectl configured
kubectl proxy # goes into background, open another window/tmux pane etc
go tool pprof http://localhost:8001/debug/pprof/profile # sing a song, have some fun, follow options for debuggiest show on earth