diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json
index 9684eb25e16..dec73507f49 100644
--- a/api/openapi-spec/swagger.json
+++ b/api/openapi-spec/swagger.json
@@ -51838,7 +51838,7 @@
"$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollingUpdateDaemonSet"
},
"type": {
- "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.",
+ "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.",
"type": "string"
}
}
@@ -52287,7 +52287,7 @@
"description": "WIP: This is not ready to be used and we plan to make breaking changes to it. RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.",
"properties": {
"partition": {
- "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.",
+ "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.",
"type": "integer",
"format": "int32"
}
@@ -52517,7 +52517,7 @@
"$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollingUpdateStatefulSetStrategy"
},
"type": {
- "description": "Type indicates the type of the StatefulSetUpdateStrategy.",
+ "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.",
"type": "string"
}
}
diff --git a/api/swagger-spec/apps_v1beta2.json b/api/swagger-spec/apps_v1beta2.json
index 0dd7d9ae7e4..5cd57c21291 100644
--- a/api/swagger-spec/apps_v1beta2.json
+++ b/api/swagger-spec/apps_v1beta2.json
@@ -7046,7 +7046,7 @@
"properties": {
"type": {
"type": "string",
- "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete."
+ "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate."
},
"rollingUpdate": {
"$ref": "v1beta2.RollingUpdateDaemonSet",
@@ -7836,7 +7836,7 @@
"properties": {
"type": {
"type": "string",
- "description": "Type indicates the type of the StatefulSetUpdateStrategy."
+ "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate."
},
"rollingUpdate": {
"$ref": "v1beta2.RollingUpdateStatefulSetStrategy",
@@ -7851,7 +7851,7 @@
"partition": {
"type": "integer",
"format": "int32",
- "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned."
+ "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0."
}
}
},
diff --git a/docs/api-reference/apps/v1beta2/definitions.html b/docs/api-reference/apps/v1beta2/definitions.html
index e358e64569d..1ee4d12e7ff 100755
--- a/docs/api-reference/apps/v1beta2/definitions.html
+++ b/docs/api-reference/apps/v1beta2/definitions.html
@@ -2191,7 +2191,7 @@ When an object is created, the system will populate this list with the current s
partition |
-Partition indicates the ordinal at which the StatefulSet should be partitioned. |
+Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. |
false |
integer (int32) |
|
@@ -7105,7 +7105,7 @@ Examples:
type |
-Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete. |
+Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate. |
false |
string |
|
@@ -7335,7 +7335,7 @@ Examples:
type |
-Type indicates the type of the StatefulSetUpdateStrategy. |
+Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. |
false |
string |
|
diff --git a/staging/src/k8s.io/api/apps/v1beta2/generated.proto b/staging/src/k8s.io/api/apps/v1beta2/generated.proto
index 1bc58370a3a..54fb7f56c58 100644
--- a/staging/src/k8s.io/api/apps/v1beta2/generated.proto
+++ b/staging/src/k8s.io/api/apps/v1beta2/generated.proto
@@ -157,8 +157,7 @@ message DaemonSetStatus {
// WIP: This is not ready to be used and we plan to make breaking changes to it.
message DaemonSetUpdateStrategy {
- // Type of daemon set update. Can be "RollingUpdate" or "OnDelete".
- // Default is OnDelete.
+ // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
// +optional
optional string type = 1;
@@ -521,6 +520,8 @@ message RollingUpdateDeployment {
message RollingUpdateStatefulSetStrategy {
// Partition indicates the ordinal at which the StatefulSet should be
// partitioned.
+ // Default value is 0.
+ // +optional
optional int32 partition = 1;
}
@@ -698,9 +699,12 @@ message StatefulSetStatus {
// necessary to perform the update for the indicated strategy.
message StatefulSetUpdateStrategy {
// Type indicates the type of the StatefulSetUpdateStrategy.
+ // Default is RollingUpdate.
+ // +optional
optional string type = 1;
// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
+ // +optional
optional RollingUpdateStatefulSetStrategy rollingUpdate = 2;
}
diff --git a/staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go b/staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go
index c6f97f6c719..2f65eee83ad 100644
--- a/staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go
+++ b/staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go
@@ -81,7 +81,7 @@ func (DaemonSetStatus) SwaggerDoc() map[string]string {
var map_DaemonSetUpdateStrategy = map[string]string{
"": "WIP: This is not ready to be used and we plan to make breaking changes to it.",
- "type": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is OnDelete.",
+ "type": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.",
"rollingUpdate": "Rolling update config params. Present only if type = \"RollingUpdate\".",
}
@@ -268,7 +268,7 @@ func (RollingUpdateDeployment) SwaggerDoc() map[string]string {
var map_RollingUpdateStatefulSetStrategy = map[string]string{
"": "WIP: This is not ready to be used and we plan to make breaking changes to it. RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.",
- "partition": "Partition indicates the ordinal at which the StatefulSet should be partitioned.",
+ "partition": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.",
}
func (RollingUpdateStatefulSetStrategy) SwaggerDoc() map[string]string {
@@ -357,7 +357,7 @@ func (StatefulSetStatus) SwaggerDoc() map[string]string {
var map_StatefulSetUpdateStrategy = map[string]string{
"": "WIP: This is not ready to be used and we plan to make breaking changes to it. 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.",
- "type": "Type indicates the type of the StatefulSetUpdateStrategy.",
+ "type": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.",
"rollingUpdate": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.",
}