RolloutStrategy

RolloutStrategy 定义了在一组集群中发布资源包的不同方式。

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "allAtOnce": {
    object (AllAtOnceStrategy)
  },
  "rolling": {
    object (RollingStrategy)
  }
  // End of mutually exclusive fields.
}
字段
策略定义了资源包的更新应如何在各个集群中发布。以下是互斥字段的列表。在响应中,最多只能设置其中一个字段:
allAtOnce

object (AllAtOnceStrategy)

AllAtOnceStrategy 会导致所有集群同时更新。

rolling

object (RollingStrategy)

RollingStrategy 会导致指定数量的集群同时更新,直到所有集群都更新完毕。

互斥字段结束。

AllAtOnceStrategy

此类型没有字段。

AllAtOnceStrategy 会导致所有集群同时更新。

RollingStrategy

RollingStrategy 会导致指定数量的集群同时更新,直到所有集群都更新完毕。

JSON 表示法
{
  "maxConcurrent": integer
}
字段
maxConcurrent

integer

可选。并发更新资源包的集群数量上限。