Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define HTTP endpoint for liveness probe
Now, we use tetra status command to report the status of tetragon agent. This comes with some overheads as tetra binary has a lot of additional functionality and it seems like an overkill to use that for status reporting. On the other hand, k8s supports liveness probes by using an HTTP endpoint (i.e. https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#http-probes). This patch first creates a new HTTP endpoint to report agent status that can be used for the liveness probe. Signed-off-by: Anastasios Papagiannis <[email protected]>
- Loading branch information