From 8213c67b0496dbe2e761bc996221da4f145ce0ee Mon Sep 17 00:00:00 2001 From: mwlo Date: Mon, 16 Oct 2023 11:47:56 +0200 Subject: [PATCH] Added terminationGracePeriodSeconds options for deployments --- charts/platform-service/Chart.yaml | 2 +- charts/platform-service/templates/deployment.yaml | 2 ++ charts/platform-service/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/platform-service/Chart.yaml b/charts/platform-service/Chart.yaml index 1714804..3799d98 100755 --- a/charts/platform-service/Chart.yaml +++ b/charts/platform-service/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "1.1" description: Platform service chart name: platform-service -version: 1.2.2 +version: 1.2.3 diff --git a/charts/platform-service/templates/deployment.yaml b/charts/platform-service/templates/deployment.yaml index 30f8fbe..168f12e 100755 --- a/charts/platform-service/templates/deployment.yaml +++ b/charts/platform-service/templates/deployment.yaml @@ -195,6 +195,8 @@ spec: resources: {{ toYaml .Values.resources | indent 12 }} + terminationGracePeriodSeconds: +{{ toYaml .Values.terminationGracePeriodSeconds | indent 12 }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} diff --git a/charts/platform-service/values.yaml b/charts/platform-service/values.yaml index 7f48b5b..09b2cb3 100755 --- a/charts/platform-service/values.yaml +++ b/charts/platform-service/values.yaml @@ -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: {}