🚑 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 }}
readinessProbe:
periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3
tcpSocket:
port: 80
port: {{ .Values.tap.proxy.hub.srvport }}
livenessProbe:
periodSeconds: 1
failureThreshold: 3
successThreshold: 1
initialDelaySeconds: 3
tcpSocket:
port: 80
port: {{ .Values.tap.proxy.hub.srvport }}
resources:
limits:
cpu: {{ .Values.tap.resources.hub.limits.cpu }}

View File

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

View File

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

View File

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