A slow rollout
maxUnavailable zero with a long readiness delay, which makes twenty replicas take a while
apiVersion: apps/v1
kind: Deployment
metadata:
name: api
spec:
replicas: 20
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
spec:
containers:
- name: app
readinessProbe:
initialDelaySeconds: 30
periodSeconds: 10