diff options
author | M.Hosnidokht <mohammad.hosnidokht@yoppworks.com> | 2021-08-24 09:00:42 -0400 |
---|---|---|
committer | M.Hosnidokht <mohammad.hosnidokht@yoppworks.com> | 2021-09-03 16:43:03 -0400 |
commit | 09523beb2c26903466e887be7d697983c8ec0eeb (patch) | |
tree | 381d2c154743740be1cb25d5f88becb1e489846a /kubernetes/aai/components/aai-resources/values.yaml | |
parent | cb6c366d0bfdf65c7397994f59f230be83fcac9b (diff) |
[AAI] Added Rolling Update Strategy
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: I02cc0068a3588d94b3da9414685e6cd798e9976f
Diffstat (limited to 'kubernetes/aai/components/aai-resources/values.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-resources/values.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/values.yaml b/kubernetes/aai/components/aai-resources/values.yaml index c2658a5503..2ec78c57c4 100644 --- a/kubernetes/aai/components/aai-resources/values.yaml +++ b/kubernetes/aai/components/aai-resources/values.yaml @@ -161,6 +161,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 resources deployment config: @@ -220,6 +228,7 @@ service: internalPort: 8447 portName2: aai-resources-5005 internalPort2: 5005 + terminationGracePeriodSeconds: 120 ingress: enabled: false |