Skip to content

Commit

Permalink
Update docs/operator-manual/profiling.md
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
  • Loading branch information
JorTurFer and Anton Gilgur authored Feb 10, 2024
1 parent 0661730 commit 93ef38f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/operator-manual/profiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ Enable profiling endpoints by setting the environment variable `ARGO_PPROF` with

`pprof` has two modes: interactive and non-interactive. Non-interactive mode generates profiling data for future analysis. Interactive mode launches a web server to visualize the profiling data in real-time.

!!! Note
You should use port-forward for below commands, replacing http://localhost:6060 with the appropriate URL of your Argo component. Don't expose pprof server publically!
!!! Note "Port Forward"
[Port forwarding](https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/) is a more secure approach to access debug level information than exposing these endpoints via an Ingress.
The below examples assume you have an Argo component forwarded to `http://localhost:6060`, but you can replace that with your preferred local port.

### Generate CPU Profile

Expand Down

0 comments on commit 93ef38f

Please sign in to comment.