# RolloutStrategy

- [JSON representation](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#SCHEMA_REPRESENTATION)
- [AllAtOnceStrategy](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#AllAtOnceStrategy)
- [RollingStrategy](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#RollingStrategy)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#RollingStrategy.SCHEMA_REPRESENTATION)

RolloutStrategy defines different ways to rollout a resource bundle across a set of clusters.

| JSON representation |
|---|
| ``` { // Union field `strategy` can be only one of the following: "allAtOnce": { object (`https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#AllAtOnceStrategy`) }, "rolling": { object (`https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#RollingStrategy`) } // End of list of possible types for union field `strategy`. } ``` |

| Fields ||
|---|---|
| Union field `strategy`. Strategy defines how updates to a resource bundle should be rolled out across clusters. `strategy` can be only one of the following: ||
| `allAtOnce` | ``object (`https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#AllAtOnceStrategy`)`` AllAtOnceStrategy causes all clusters to be updated concurrently. |
| `rolling` | ``object (`https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1/RolloutStrategy#RollingStrategy`)`` RollingStrategy causes a specified number of clusters to be updated concurrently until all clusters are updated. |

## AllAtOnceStrategy

This type has no fields.
AllAtOnceStrategy causes all clusters to be updated concurrently.

## RollingStrategy

RollingStrategy causes a specified number of clusters to be updated concurrently until all clusters are updated.

| JSON representation |
|---|
| ``` { "maxConcurrent": integer } ``` |

| Fields ||
|---|---|
| `maxConcurrent` | `integer` Optional. Maximum number of clusters to update the resource bundle on concurrently. |