diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 7b58c82cb74..4bf52c570f7 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -51639,19 +51639,6 @@ } } }, - "io.k8s.kubernetes.pkg.apis.apps.v1beta1.PartitionStatefulSetStrategy": { - "description": "PartitionStatefulSetStrategy contains the parameters used with the PartitionStatefulSetStrategyType.", - "required": [ - "ordinal" - ], - "properties": { - "ordinal": { - "description": "Ordinal indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", - "format": "int32" - } - } - }, "io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollbackConfig": { "properties": { "revision": { @@ -51674,6 +51661,16 @@ } } }, + "io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "properties": { + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", + "type": "integer", + "format": "int32" + } + } + }, "io.k8s.kubernetes.pkg.apis.apps.v1beta1.Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { @@ -51893,9 +51890,9 @@ "io.k8s.kubernetes.pkg.apis.apps.v1beta1.StatefulSetUpdateStrategy": { "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "properties": { - "partition": { - "description": "Partition is used to communicate the ordinal at which to partition the StatefulSet when Type is PartitionStatefulSetStrategyType. This value must be set when Type is PartitionStatefulSetStrategyType, and it must be nil otherwise.", - "$ref": "#/definitions/io.k8s.kubernetes.pkg.apis.apps.v1beta1.PartitionStatefulSetStrategy" + "rollingUpdate": { + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.", + "$ref": "#/definitions/io.k8s.kubernetes.pkg.apis.apps.v1beta1.RollingUpdateStatefulSetStrategy" }, "type": { "description": "Type indicates the type of the StatefulSetUpdateStrategy.", diff --git a/api/swagger-spec/apps_v1beta1.json b/api/swagger-spec/apps_v1beta1.json index a95df12347f..86a4706b411 100644 --- a/api/swagger-spec/apps_v1beta1.json +++ b/api/swagger-spec/apps_v1beta1.json @@ -6046,23 +6046,20 @@ "type": "string", "description": "Type indicates the type of the StatefulSetUpdateStrategy." }, - "partition": { - "$ref": "v1beta1.PartitionStatefulSetStrategy", - "description": "Partition is used to communicate the ordinal at which to partition the StatefulSet when Type is PartitionStatefulSetStrategyType. This value must be set when Type is PartitionStatefulSetStrategyType, and it must be nil otherwise." + "rollingUpdate": { + "$ref": "v1beta1.RollingUpdateStatefulSetStrategy", + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." } } }, - "v1beta1.PartitionStatefulSetStrategy": { - "id": "v1beta1.PartitionStatefulSetStrategy", - "description": "PartitionStatefulSetStrategy contains the parameters used with the PartitionStatefulSetStrategyType.", - "required": [ - "ordinal" - ], + "v1beta1.RollingUpdateStatefulSetStrategy": { + "id": "v1beta1.RollingUpdateStatefulSetStrategy", + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { - "ordinal": { + "partition": { "type": "integer", "format": "int32", - "description": "Ordinal indicates the ordinal at which the StatefulSet should be partitioned." + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned." } } }, diff --git a/docs/api-reference/apps/v1beta1/definitions.html b/docs/api-reference/apps/v1beta1/definitions.html index d6ad36f2ccc..a2095f88cd5 100755 --- a/docs/api-reference/apps/v1beta1/definitions.html +++ b/docs/api-reference/apps/v1beta1/definitions.html @@ -585,6 +585,40 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } + +
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
partition |
+Partition indicates the ordinal at which the StatefulSet should be partitioned. |
+false |
+integer (int32) |
++ |
PartitionStatefulSetStrategy contains the parameters used with the PartitionStatefulSetStrategyType.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
ordinal |
-Ordinal indicates the ordinal at which the StatefulSet should be partitioned. |
-true |
-integer (int32) |
-- |
partition
Partition is used to communicate the ordinal at which to partition the StatefulSet when Type is PartitionStatefulSetStrategyType. This value must be set when Type is PartitionStatefulSetStrategyType, and it must be nil otherwise.
rollingUpdate
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
false