Skip to content

Commit

Permalink
helm: Add tetragon.livenessProbe value
Browse files Browse the repository at this point in the history
[ upstream commit 1871fe8 ]

Add tetragon.livenessProbe Helm value that overrides the default
liveness probe for the tetragon container. For example, to use grpc
probe, you can specify tetragon.livenessProbe Helm value like this:

    tetragon:
      livenessProbe:
        grpc:
          port: 54321

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent authored and kkourt committed May 27, 2024
1 parent 35d03ac commit 8d35c57
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 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.

1 change: 1 addition & 0 deletions install/kubernetes/tetragon/README.md

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

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@
resources:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if .Values.tetragon.grpc.enabled }}
{{- if .Values.tetragon.livenessProbe }}
livenessProbe:
{{- toYaml .Values.tetragon.livenessProbe | nindent 4 }}
{{- else if .Values.tetragon.grpc.enabled }}
livenessProbe:
timeoutSeconds: 60
exec:
Expand Down
5 changes: 5 additions & 0 deletions install/kubernetes/tetragon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ tetragon:
extraVolumeMounts: []
securityContext:
privileged: true
# -- Overrides the default livenessProbe for the tetragon container.
livenessProbe: {}
# grpc:
# port: 54321

# Tetragon puts processes in an LRU cache. The cache is used to find ancestors
# for subsequently exec'ed processes.
processCacheSize: 65536
Expand Down

0 comments on commit 8d35c57

Please sign in to comment.