Skip to content

Commit

Permalink
[helm] Use grpc-based liveness probe
Browse files Browse the repository at this point in the history
The previous commit introduced a gRPC server that can be used for
the liveness probe. This patch changes helm to make that default instead
of the tetra status based liveness probe.

The user can still use the tetra status based liveness probe by
defining a values file similar to:
tetragon:
  livenessProbe:
     timeoutSeconds: 60
     exec:
       command:
       - tetra
       - status
       - --server-address
       - "54321"
       - --retries
       - "5"

Signed-off-by: Anastasios Papagiannis <[email protected]>
  • Loading branch information
tpapagian committed May 29, 2024
1 parent fbf6d24 commit c835644
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions install/kubernetes/tetragon/templates/_container_tetragon.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,9 @@
{{- else if .Values.tetragon.grpc.enabled }}
livenessProbe:
timeoutSeconds: 60
exec:
command:
- tetra
- status
- --server-address
- {{ .Values.tetragon.grpc.address }}
- --retries
- "5"
grpc:
port: 6789
service: "liveness"
{{- end -}}
{{- end -}}

0 comments on commit c835644

Please sign in to comment.