From ea5ceb7efbbbb666efb0955912f8245d312d17ea Mon Sep 17 00:00:00 2001 From: Mehul Modi <memodi@redhat.com> Date: Sat, 10 Jun 2023 18:02:34 -0400 Subject: [PATCH] update agent spec for profiling (#132) --- docs/profiling.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/profiling.md b/docs/profiling.md index 396a4f3a..4556e701 100644 --- a/docs/profiling.md +++ b/docs/profiling.md @@ -9,15 +9,17 @@ metadata: name: cluster spec: - ebpf: - env: - PROFILE_PORT: "6060" - ``` + agent: + ebpf: + debug: + env: + PROFILE_PORT: "6060" + ``` 2. If you are running OpenShift/Kubernetes, port-forward the pod that you want to profile. ``` - oc -n netobserv-privileged port-forward netobserv-ebpf-agent-4kt9d 6060 + oc -n netobserv-privileged port-forward <netobserv-ebpf-agent pod name> 6060 ``` 3. Download the required profiles: -- GitLab