Documentation for version v1.10.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.
Contour exposes the net/http/pprof handlers for go tool pprof
and go tool trace
by default on 127.0.0.1:6060
.
This service is useful for profiling Contour.
To access it from your workstation use kubectl port-forward
like so,
# Get one of the pods that matches the Contour deployment
$ CONTOUR_POD=$(kubectl -n projectcontour get pod -l app=contour -o name | head -1)
# Do the port forward to that pod
$ kubectl -n projectcontour port-forward $CONTOUR_POD 6060
Read our getting started documentation.