From 63325ec8906b0649fa2c05117b53d6c564f4a0c1 Mon Sep 17 00:00:00 2001 From: Luiz Oliveira Date: Sat, 19 Aug 2023 14:32:49 -0300 Subject: [PATCH] :rocket: Add readiness and liveness probes to worker `DaemonSet` (#1414) Signed-off-by: Luiz Oliveira --- helm-chart/templates/09-worker-daemon-set.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index ade47df3b..8b40b29da 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -71,6 +71,16 @@ spec: - SYS_MODULE drop: - ALL + readinessProbe: + periodSeconds: 1 + initialDelaySeconds: 1 + tcpSocket: + port: {{ .Values.tap.proxy.worker.srvport }} + livenessProbe: + periodSeconds: 1 + initialDelaySeconds: 1 + tcpSocket: + port: {{ .Values.tap.proxy.worker.srvport }} volumeMounts: - mountPath: /hostproc name: proc