This is the documentation for the latest development version of Contour. Both code and docs may be unstable, and these docs are not guaranteed to be up to date or correct. 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.