Skip to content

Commit

Permalink
bugfix: 容器环境,停止微服务没有触发shutdown hook TencentBlueKing#1251
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Sep 5, 2022
1 parent 640caf1 commit f21fc86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ spec:
{{- end }}
image: {{ include "job-execute.image" . }}
imagePullPolicy: {{ .Values.executeConfig.image.pullPolicy }}
terminationGracePeriodSeconds: 120
env:
{{- include "job.common.env" . | nindent 12 }}
- name: BK_JOB_APP_NAME
Expand Down Expand Up @@ -136,6 +135,7 @@ spec:
- name: job-gse-tls-password
mountPath: /etc/secrets
readOnly: true
terminationGracePeriodSeconds: 120
volumes:
- name: job-storage
persistentVolumeClaim:
Expand Down

0 comments on commit f21fc86

Please sign in to comment.