Skip to content

Commit

Permalink
Merge pull request #25 from dnvgl/terminationGracePeriodSeconds
Browse files Browse the repository at this point in the history
Added terminationGracePeriodSeconds options for deployments
  • Loading branch information
mjwloch authored Oct 16, 2023
2 parents 57efbf4 + 8213c67 commit aed3df5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/platform-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.1"
description: Platform service chart
name: platform-service
version: 1.2.2
version: 1.2.3
2 changes: 2 additions & 0 deletions charts/platform-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ spec:

resources:
{{ toYaml .Values.resources | indent 12 }}
terminationGracePeriodSeconds:
{{ toYaml .Values.terminationGracePeriodSeconds | indent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/platform-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ resources: {}
# cpu: 500m
# memory: 128Mi

terminationGracePeriodSeconds: 30

# Adjust resources requested for proxy sidecar (see https://istio.io/docs/concepts/performance-and-scalability/#cpu-and-memory)
proxyResources:
{}
Expand Down

0 comments on commit aed3df5

Please sign in to comment.