-
Sub-task
-
Resolution: Done
-
Highest
-
None
-
None
The objective of this story is to implement K8s rolling update for CPS services.
This will bring the option for zero downtime deployments.
Changes to be made in oom by having the deployment strategy configurable in deployment.yaml
Snippet:
spec: replicas: {{ .Values.replicaCount }} minReadySeconds: {{ index .Values.minReadySeconds }} strategy: type: {{ index .Values.updateStrategy.type }} rollingUpdate: maxUnavailable: {{ index .Values.updateStrategy.maxUnavailable }} maxSurge: {{ index .Values.updateStrategy.maxSurge }}
See https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/