We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1291f05 commit 5fc3d2aCopy full SHA for 5fc3d2a
docs/book/src/tasks/diagnostics.md
@@ -136,6 +136,11 @@ kubectl -n capi-system port-forward deployments/capi-controller-manager 8443
136
137
# Terminal 2
138
TOKEN=$(kubectl create token default)
139
+
140
+# Get a goroutine dump
141
+curl "https://localhost:8443/debug/pprof/goroutine?debug=2" --header "Authorization: Bearer $TOKEN" -k > ./goroutine.txt
142
143
+# Get a profile
144
curl "https://localhost:8443/debug/pprof/profile?seconds=10" --header "Authorization: Bearer $TOKEN" -k > ./profile.out
145
go tool pprof -http=:8080 ./profile.out
146
```
0 commit comments