k8s: rs的滚动更新
ReplicationController rolling update实现了pod的滚动更新strategy:rollingUpdate:maxSurge: 25%maxUnavailable: 25%type: RollingUpdate.spec.strategy.rollingUpdate.maxSurge 表示Scale Up新的ReplicaSet时,按照比例计算出允许的MaxSurg
·
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
更多推荐
已为社区贡献18条内容
所有评论(0)