Documentation for version v0.43.1 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Debugging kapp-controller
The following flags can be used to debug the kapp-controller deployment. Use of these flags are strongly discouraged in a production setting.
--dangerous-enable-pprof=true
ΒΆ
This flag enables Go’s pprof server within kapp-controller process. It runs on 0.0.0.0:6060
. It allows to inspect running Go process in various ways, for example:
- list goroutines:
http://x.x.x.x/debug/pprof/goroutine?debug=2
- collect CPU samples:
go tool pprof x.x.x.x/debug/pprof/profile?seconds=60
(useful commands: top10, tree)
(Help improve our docs: edit this page on GitHub)