mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 06:30:07 +08:00
change default livens & readiness probe timings to allow less pod restarts on large
clusters
This commit is contained in:
parent
229eeb8301
commit
e73f0d4e81
@ -149,6 +149,7 @@ spec:
|
|||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 100
|
failureThreshold: 100
|
||||||
|
timeoutSeconds: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
@ -158,6 +159,7 @@ spec:
|
|||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
|
timeoutSeconds: 3
|
||||||
{{- if .Values.filer.resources }}
|
{{- if .Values.filer.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{ tpl .Values.filer.resources . | nindent 12 | trim }}
|
{{ tpl .Values.filer.resources . | nindent 12 | trim }}
|
||||||
|
@ -133,19 +133,21 @@ spec:
|
|||||||
path: /cluster/status
|
path: /cluster/status
|
||||||
port: {{ .Values.master.port }}
|
port: {{ .Values.master.port }}
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 15
|
periodSeconds: 45
|
||||||
successThreshold: 2
|
successThreshold: 2
|
||||||
failureThreshold: 100
|
failureThreshold: 100
|
||||||
|
timeoutSeconds: 5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /cluster/status
|
path: /cluster/status
|
||||||
port: {{ .Values.master.port }}
|
port: {{ .Values.master.port }}
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
initialDelaySeconds: 20
|
initialDelaySeconds: 20
|
||||||
periodSeconds: 10
|
periodSeconds: 30
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 6
|
failureThreshold: 4
|
||||||
|
timeoutSeconds: 5
|
||||||
{{- if .Values.master.resources }}
|
{{- if .Values.master.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{ tpl .Values.master.resources . | nindent 12 | trim }}
|
{{ tpl .Values.master.resources . | nindent 12 | trim }}
|
||||||
|
@ -116,6 +116,7 @@ spec:
|
|||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 100
|
failureThreshold: 100
|
||||||
|
timeoutSeconds: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
@ -125,6 +126,7 @@ spec:
|
|||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 20
|
failureThreshold: 20
|
||||||
|
timeoutSeconds: 3
|
||||||
{{- if .Values.s3.resources }}
|
{{- if .Values.s3.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{ tpl .Values.s3.resources . | nindent 12 | trim }}
|
{{ tpl .Values.s3.resources . | nindent 12 | trim }}
|
||||||
|
@ -142,19 +142,21 @@ spec:
|
|||||||
path: /status
|
path: /status
|
||||||
port: {{ .Values.volume.port }}
|
port: {{ .Values.volume.port }}
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 15
|
periodSeconds: 90
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 100
|
failureThreshold: 100
|
||||||
|
timeoutSeconds: 5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /status
|
path: /status
|
||||||
port: {{ .Values.volume.port }}
|
port: {{ .Values.volume.port }}
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
initialDelaySeconds: 20
|
initialDelaySeconds: 20
|
||||||
periodSeconds: 30
|
periodSeconds: 90
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 10
|
failureThreshold: 4
|
||||||
|
timeoutSeconds: 5
|
||||||
{{- if .Values.volume.resources }}
|
{{- if .Values.volume.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{ tpl .Values.volume.resources . | nindent 12 | trim }}
|
{{ tpl .Values.volume.resources . | nindent 12 | trim }}
|
||||||
|
Loading…
Reference in New Issue
Block a user