feature:新增TSG-X 0906环境下定时清除minidump的配置
This commit is contained in:
@@ -247,6 +247,18 @@ spec:
|
||||
- name: MERGER_PORT
|
||||
value: "{{ .Values.mergeExporter.mergePort }}"
|
||||
|
||||
- name: minidump-hook
|
||||
image: "{{ .Values.image.tsgInit.repository }}:{{ .Values.image.tsgInit.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.tsgInit.pullPolicy }}
|
||||
command: ["/bin/sh", "-c", "while true; do touch /run/sapp/crashreport/.minidump; touch /run/tfe/crashreport/.minidump; touch /run/certstore/crashreport/.minidump; sleep 600; done"]
|
||||
volumeMounts:
|
||||
- name: firewall-minidump
|
||||
mountPath: /run/sapp/crashreport
|
||||
- name: proxy-minidump
|
||||
mountPath: /run/tfe/crashreport
|
||||
- name: certstore-minidump
|
||||
mountPath: /run/certstore/crashreport
|
||||
|
||||
initContainers:
|
||||
- name: tsg-init
|
||||
image: "{{ .Values.image.tsgInit.repository }}:{{ .Values.image.tsgInit.tag | default .Chart.AppVersion }}"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
#Type Path Mode User Group Age Argument
|
||||
d /var/log/traffic-engine/ 0755 - - 2d -
|
||||
d /var/log/traffic-engine/ 0755 - - 2d -
|
||||
d /var/crashreport/traffic-engine/ 0755 - - 30d -
|
||||
Reference in New Issue
Block a user