ReplicationController rolling update实现了pod的滚动更新
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
.spec.strategy.rollingUpdate.maxSurge 表示Scale Up新的ReplicaSet时,按照比例计算出允许的MaxSurge
.spec.strategy.rollingUpdate.maxUnavailable 表示Scale Down旧的ReplicaSet时,按照比例计算出允许的maxUnavailable