summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-traversal/values.yaml
diff options
context:
space:
mode:
authorM.Hosnidokht <mohammad.hosnidokht@yoppworks.com>2021-08-25 09:08:40 -0400
committerM.Hosnidokht <mohammad.hosnidokht@yoppworks.com>2021-09-03 19:25:21 -0400
commit15fea93648c462594f4e6b3908fde10049a41ea0 (patch)
tree0edd799fcd3bb040201608be78a761814b868afb /kubernetes/aai/components/aai-traversal/values.yaml
parent529604f9b5eccb8bb0953b8ee1c96634156a57d4 (diff)
[AAI] Added Rolling Update Strategy to traversal
Addded preStop hook to let long-running tasks be finished before the SIGTERM is invoked Issue-ID: AAI-3368 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: I7925c622f29b800c19cc7931a951f29083561cc1
Diffstat (limited to 'kubernetes/aai/components/aai-traversal/values.yaml')
-rw-r--r--kubernetes/aai/components/aai-traversal/values.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-traversal/values.yaml b/kubernetes/aai/components/aai-traversal/values.yaml
index 297de15308..7ad96005ad 100644
--- a/kubernetes/aai/components/aai-traversal/values.yaml
+++ b/kubernetes/aai/components/aai-traversal/values.yaml
@@ -145,6 +145,14 @@ pullPolicy: Always
restartPolicy: Always
flavor: small
flavorOverride: small
+# 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
api_list:
- 11
@@ -245,6 +253,7 @@ service:
internalPort: 8446
portName2: aai-traversal-5005
internalPort2: 5005
+ terminationGracePeriodSeconds: 120
ingress:
enabled: false