-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[helm] Use grpc-based liveness probe
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
Showing
3 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
kind: Cluster | ||
nodes: | ||
- role: control-plane | ||
extraMounts: | ||
- hostPath: /proc | ||
containerPath: /procHost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
tetragon: | ||
hostProcPath: "/procHost" | ||
healthGrpc: | ||
enabled: true | ||
port: 6780 | ||
interval: 11 | ||
# livenessProbe: | ||
# timeoutSeconds: 60 | ||
# exec: | ||
# command: | ||
# - tetra | ||
# - status | ||
# - --server-address | ||
# - "54321" | ||
# - --retries | ||
# - "5" | ||
image: | ||
override: "quay.io/cilium/tetragon-ci:e3692fc57dd830b999fbbbd4019672a0039fd0ac" | ||
tetragonOperator: | ||
image: | ||
override: "quay.io/cilium/tetragon-operator-ci:e3692fc57dd830b999fbbbd4019672a0039fd0ac" |