Skip to content

Commit

Permalink
helm: add pprof address flag to the chart
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Aug 28, 2024
1 parent fe78328 commit f2a110e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/content/en/docs/reference/helm-chart.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions install/kubernetes/tetragon/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions install/kubernetes/tetragon/templates/tetragon_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ data:
{{- end }}
enable-pod-info: {{ .Values.tetragonOperator.podInfo.enabled | quote }}
enable-tracing-policy-crd: {{ .Values.tetragonOperator.tracingPolicy.enabled | quote }}
{{- if .Values.tetragon.pprof.enabled }}
pprof-address: {{ .Values.tetragon.pprof.address }}:{{ .Values.tetragon.pprof.port }}
{{- end }}
{{- include "configmap.extra" . | nindent 2 }}
7 changes: 7 additions & 0 deletions install/kubernetes/tetragon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ tetragon:
address: "localhost"
# -- The port at which to expose gops.
port: 8118
pprof:
# -- Whether to enable exposing pprof server.
enabled: false
# -- The address at which to expose pprof.
address: "localhost"
# -- The port at which to expose pprof.
port: 6060
# -- Enable policy filter. This is required for K8s namespace and pod-label filtering.
enablePolicyFilter: True
# -- Enable policy filter debug messages.
Expand Down

0 comments on commit f2a110e

Please sign in to comment.