🚑 Add initialDelaySeconds to readiness and liveness probes of worker DaemonSet

This commit is contained in:
M. Mert Yildiran 2023-08-24 22:05:26 +03:00
parent b1feb4e33f
commit f628192216
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
4 changed files with 32 additions and 12 deletions

View File

@ -37,14 +37,18 @@ spec:
imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }}
readinessProbe: readinessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: {{ .Values.tap.proxy.hub.srvport }}
livenessProbe: livenessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: {{ .Values.tap.proxy.hub.srvport }}
resources: resources:
limits: limits:
cpu: {{ .Values.tap.resources.hub.limits.cpu }} cpu: {{ .Values.tap.resources.hub.limits.cpu }}

View File

@ -32,15 +32,17 @@ spec:
imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }}
name: kubeshark-front name: kubeshark-front
livenessProbe: livenessProbe:
failureThreshold: 3
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 80
readinessProbe: readinessProbe:
failureThreshold: 3
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 80
timeoutSeconds: 1 timeoutSeconds: 1

View File

@ -73,12 +73,16 @@ spec:
- ALL - ALL
readinessProbe: readinessProbe:
periodSeconds: 1 periodSeconds: 1
initialDelaySeconds: 1 failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 5
tcpSocket: tcpSocket:
port: {{ .Values.tap.proxy.worker.srvport }} port: {{ .Values.tap.proxy.worker.srvport }}
livenessProbe: livenessProbe:
periodSeconds: 1 periodSeconds: 1
initialDelaySeconds: 1 failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 5
tcpSocket: tcpSocket:
port: {{ .Values.tap.proxy.worker.srvport }} port: {{ .Values.tap.proxy.worker.srvport }}
volumeMounts: volumeMounts:

View File

@ -255,12 +255,16 @@ spec:
- ALL - ALL
readinessProbe: readinessProbe:
periodSeconds: 1 periodSeconds: 1
initialDelaySeconds: 1 failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 5
tcpSocket: tcpSocket:
port: 8897 port: 8897
livenessProbe: livenessProbe:
periodSeconds: 1 periodSeconds: 1
initialDelaySeconds: 1 failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 5
tcpSocket: tcpSocket:
port: 8897 port: 8897
volumeMounts: volumeMounts:
@ -337,14 +341,18 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
readinessProbe: readinessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8898
livenessProbe: livenessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3 initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 8898
resources: resources:
limits: limits:
cpu: 750m cpu: 750m
@ -389,15 +397,17 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
name: kubeshark-front name: kubeshark-front
livenessProbe: livenessProbe:
failureThreshold: 3
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 80
readinessProbe: readinessProbe:
failureThreshold: 3
periodSeconds: 1 periodSeconds: 1
failureThreshold: 3
successThreshold: 1 successThreshold: 1
initialDelaySeconds: 3
tcpSocket: tcpSocket:
port: 80 port: 80
timeoutSeconds: 1 timeoutSeconds: 1