From 6c806532ef21164ca85f972b196dfd3375409eac Mon Sep 17 00:00:00 2001 From: "M.Hosnidokht" Date: Wed, 25 Aug 2021 09:19:41 -0400 Subject: [AAI] Added Rolling Update Strategy to graphAdmin Addded preStop hook to let long-running tasks be finished before the SIGTERM is invoked Issue-ID: AAI-3368 Signed-off-by: Mohammad Hosnidokht Change-Id: Ie5d0c5b454bd99022e5a2307e5813a92a8713ebd --- kubernetes/aai/components/aai-graphadmin/values.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kubernetes/aai/components/aai-graphadmin/values.yaml') diff --git a/kubernetes/aai/components/aai-graphadmin/values.yaml b/kubernetes/aai/components/aai-graphadmin/values.yaml index 03d034bf05..c29004e837 100644 --- a/kubernetes/aai/components/aai-graphadmin/values.yaml +++ b/kubernetes/aai/components/aai-graphadmin/values.yaml @@ -125,6 +125,14 @@ flavor: small flavorOverride: small # default number of instances replicaCount: 1 +# the minimum number of seconds that a newly created Pod should be ready +minReadySeconds: 30 +updateStrategy: + type: RollingUpdate + # The number of pods that can be unavailable during the update process + maxUnavailable: 0 + # The number of pods that can be created above the desired amount of pods during an update + maxSurge: 1 # Configuration for the graphadmin deployment config: @@ -204,6 +212,7 @@ service: internalPort: 8449 portName2: aai-graphadmin-5005 internalPort2: 5005 + terminationGracePeriodSeconds: 120 ingress: enabled: false -- cgit 1.2.3-korg