Add ability to configure object reaper interval for different executor types (#2543)
Added properties to configure object reaper interval, global and specific to exec type. OBJECT_REAPER_INTERVAL - global NEWDEPLOY_OBJECT_REAPER_INTERVAL - for new deploy type CONTAINER_OBJECT_REAPER_INTERVAL - for container type POOLMGR_OBJECT_REAPER_INTERVAL - for poolmgr
This commit is contained in:
@@ -57,6 +57,20 @@ spec:
|
||||
value: {{ .Values.debugEnv | quote }}
|
||||
- name: PPROF_ENABLED
|
||||
value: {{ .Values.pprof.enabled | quote }}
|
||||
- name: OBJECT_REAPER_INTERVAL
|
||||
value: {{ .Values.executor.objectReaperInterval | quote }}
|
||||
{{- if .Values.executor.poolmgr.objectReaperInterval }}
|
||||
- name: POOLMGR_OBJECT_REAPER_INTERVAL
|
||||
value: {{ .Values.executor.poolmgr.objectReaperInterval | quote }}
|
||||
{{- end}}
|
||||
{{- if .Values.executor.newdeploy.objectReaperInterval }}
|
||||
- name: NEWDEPLOY_OBJECT_REAPER_INTERVAL
|
||||
value: {{ .Values.executor.newdeploy.objectReaperInterval | quote }}
|
||||
{{- end}}
|
||||
{{- if .Values.executor.container.objectReaperInterval }}
|
||||
- name: CONTAINER_OBJECT_REAPER_INTERVAL
|
||||
value: {{ .Values.executor.container.objectReaperInterval | quote }}
|
||||
{{- end}}
|
||||
- name: HELM_RELEASE_NAME
|
||||
value: {{ .Release.Name | quote }}
|
||||
{{- include "opentelemtry.envs" . | indent 8 }}
|
||||
|
||||
@@ -155,6 +155,26 @@ executor:
|
||||
runAsUser: 10001
|
||||
runAsGroup: 10001
|
||||
|
||||
## Object Reaper
|
||||
## objectReaperInterval (seconds) represents GLOBAL interval to run process that reaps objects after certain idle time.
|
||||
## Also you can set different objectReaperInterval for specific executor type. See poolmgs/newdeploy/container section
|
||||
## Default: 5 (in seconds)
|
||||
##
|
||||
objectReaperInterval: 5
|
||||
|
||||
poolmgr: {}
|
||||
## objectReaperInterval specific to poolmgr executor type
|
||||
##
|
||||
## objectReaperInterval: 5
|
||||
newdeploy: {}
|
||||
## objectReaperInterval specific to newdeploy executor type
|
||||
##
|
||||
## objectReaperInterval: 5
|
||||
container: {}
|
||||
## objectReaperInterval specific to container executor type
|
||||
##
|
||||
## objectReaperInterval: 5
|
||||
|
||||
## router is responsible for routing function calls to the appropriate function.
|
||||
##
|
||||
router:
|
||||
|
||||
Reference in New Issue
Block a user