Skip to content

Commit f9d17ac

Browse files
author
PJEstrada
authored
Merge pull request #5 from diffgram/add-shutdown-grace-time
Add shutdown grace period
2 parents cb415ae + afbf996 commit f9d17ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

templates/postgres/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: "apps/v1"
55
kind: "Deployment"
66
metadata:
77
name: "postgres"
8-
namespace: {{ .Release.Namespace }}
8+
namespace: {{ .Release.Namespace }}
99
labels:
1010
app: "postgres"
1111
annotations:

templates/walrus/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
labels:
1616
app: diffgram-walrus
1717
spec:
18+
terminationGracePeriodSeconds: 7200 # 2 hours
1819
{{ if .Values.nodeGroupLabel }}
1920
nodeSelector:
2021
poolName: {{ .Values.nodeGroupLabel }}

0 commit comments

Comments
 (0)