gadget-container: Configure liveness probe on YAML
This commit configures the liveness probe on gadget DaemonSet YAML with
the following parameters:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 1 (Default value)
failureThreshold: 3 (Default value)
successThreshold: 1 (Default value)
This set of commits fix
@@ -115,6 +115,13 @@ spec:
exec:
command:
- "/cleanup.sh"
+ livenessProbe:
+ initialDelaySeconds: 10
+ periodSeconds: 5
+ exec:
+ command:
+ - /bin/gadgettracermanager
+ - -liveness
env:
- name: NODE_NAME
valueFrom:
