Deployment strategy to scale down the existing pods first and then scale up new pods
Issue
-
Recreate deployment strategy used to achieve above doesn't give satisfactory results and causes some downtime
-
In Rolling deployment strategy, setting
maxsurge = 0andmaxUnavailable = 1results in the deployment creating a new pod first and then scaling down the existing pod next. This is a problem in a stringent quota definition. -
Is there any alternative deployment strategy available similar to rolling that helps in achieving following : first some % of old pods will be down and then same % of new pods will be scaled up?
Environment
- Red Hat OpenShift Container Platform
- v3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.