diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 9684eb25e16..4c712323f5a 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -23906,78 +23906,6 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "createAppsV1beta2NamespacedDeploymentRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentRollback" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentRollback" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the DeploymentRollback", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { "get": { "description": "read scale of the specified Deployment", @@ -51264,7 +51192,7 @@ ] }, "io.k8s.api.apps.v1beta1.DeploymentRollback": { - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ "name", "rollbackTo" @@ -51333,7 +51261,7 @@ "format": "int32" }, "rollbackTo": { - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", "$ref": "#/definitions/io.k8s.api.apps.v1beta1.RollbackConfig" }, "selector": { @@ -51413,6 +51341,7 @@ } }, "io.k8s.api.apps.v1beta1.RollbackConfig": { + "description": "DEPRECATED.", "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", @@ -51942,45 +51871,6 @@ } ] }, - "io.k8s.api.apps.v1beta2.DeploymentRollback": { - "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. DeploymentRollback stores the information required to rollback a deployment.", - "required": [ - "name", - "rollbackTo" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Required: This must match the Name of a deployment.", - "type": "string" - }, - "rollbackTo": { - "description": "The config of this deployment rollback.", - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollbackConfig" - }, - "updatedAnnotations": { - "description": "The annotations to be updated to a deployment", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta2" - } - ] - }, "io.k8s.api.apps.v1beta2.DeploymentSpec": { "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ @@ -52011,10 +51901,6 @@ "type": "integer", "format": "int32" }, - "rollbackTo": { - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done.", - "$ref": "#/definitions/io.k8s.api.apps.v1beta2.RollbackConfig" - }, "selector": { "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" @@ -52251,16 +52137,6 @@ } } }, - "io.k8s.api.apps.v1beta2.RollbackConfig": { - "description": "WIP: This is not ready to be used and we plan to make breaking changes to it.", - "properties": { - "revision": { - "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", - "format": "int64" - } - } - }, "io.k8s.api.apps.v1beta2.RollingUpdateDaemonSet": { "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. Spec to control the desired behavior of daemon set rolling update.", "properties": { @@ -58688,7 +58564,7 @@ ] }, "io.k8s.api.extensions.v1beta1.DeploymentRollback": { - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ "name", "rollbackTo" @@ -58757,7 +58633,7 @@ "format": "int32" }, "rollbackTo": { - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RollbackConfig" }, "selector": { @@ -59500,6 +59376,7 @@ } }, "io.k8s.api.extensions.v1beta1.RollbackConfig": { + "description": "DEPRECATED.", "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", diff --git a/api/swagger-spec/apps_v1beta1.json b/api/swagger-spec/apps_v1beta1.json index 2f384bd93c8..4fc11e5b530 100644 --- a/api/swagger-spec/apps_v1beta1.json +++ b/api/swagger-spec/apps_v1beta1.json @@ -3810,7 +3810,7 @@ }, "rollbackTo": { "$ref": "v1beta1.RollbackConfig", - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done." + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "progressDeadlineSeconds": { "type": "integer", @@ -5854,6 +5854,7 @@ }, "v1beta1.RollbackConfig": { "id": "v1beta1.RollbackConfig", + "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", @@ -5946,7 +5947,7 @@ }, "v1beta1.DeploymentRollback": { "id": "v1beta1.DeploymentRollback", - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ "name", "rollbackTo" diff --git a/api/swagger-spec/apps_v1beta2.json b/api/swagger-spec/apps_v1beta2.json index 0dd7d9ae7e4..b41d7f721ee 100644 --- a/api/swagger-spec/apps_v1beta2.json +++ b/api/swagger-spec/apps_v1beta2.json @@ -1895,67 +1895,6 @@ } ] }, - { - "path": "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/rollback", - "description": "API at /apis/apps/v1beta2", - "operations": [ - { - "type": "v1beta2.DeploymentRollback", - "method": "POST", - "summary": "create rollback of a Deployment", - "nickname": "createNamespacedDeploymentRollback", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.DeploymentRollback", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the DeploymentRollback", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1beta2.DeploymentRollback" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale", "description": "API at /apis/apps/v1beta2", @@ -7282,10 +7221,6 @@ "type": "boolean", "description": "Indicates that the deployment is paused." }, - "rollbackTo": { - "$ref": "v1beta2.RollbackConfig", - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done." - }, "progressDeadlineSeconds": { "type": "integer", "format": "int32", @@ -7321,17 +7256,6 @@ } } }, - "v1beta2.RollbackConfig": { - "id": "v1beta2.RollbackConfig", - "description": "WIP: This is not ready to be used and we plan to make breaking changes to it.", - "properties": { - "revision": { - "type": "integer", - "format": "int64", - "description": "The revision to rollback to. If set to 0, rollback to the last revision." - } - } - }, "v1beta2.DeploymentStatus": { "id": "v1beta2.DeploymentStatus", "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. DeploymentStatus is the most recently observed status of the Deployment.", @@ -7414,36 +7338,6 @@ } } }, - "v1beta2.DeploymentRollback": { - "id": "v1beta2.DeploymentRollback", - "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. DeploymentRollback stores the information required to rollback a deployment.", - "required": [ - "name", - "rollbackTo" - ], - "properties": { - "kind": { - "type": "string", - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" - }, - "apiVersion": { - "type": "string", - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources" - }, - "name": { - "type": "string", - "description": "Required: This must match the Name of a deployment." - }, - "updatedAnnotations": { - "type": "object", - "description": "The annotations to be updated to a deployment" - }, - "rollbackTo": { - "$ref": "v1beta2.RollbackConfig", - "description": "The config of this deployment rollback." - } - } - }, "v1beta2.Scale": { "id": "v1beta2.Scale", "description": "WIP: This is not ready to be used and we plan to make breaking changes to it. Scale represents a scaling request for a resource.", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index 2c74fe32ae9..22c5a0ada73 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -8759,7 +8759,7 @@ }, "rollbackTo": { "$ref": "v1beta1.RollbackConfig", - "description": "The config this deployment is rolling back to. Will be cleared after rollback is done." + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done." }, "progressDeadlineSeconds": { "type": "integer", @@ -8798,6 +8798,7 @@ }, "v1beta1.RollbackConfig": { "id": "v1beta1.RollbackConfig", + "description": "DEPRECATED.", "properties": { "revision": { "type": "integer", @@ -8890,7 +8891,7 @@ }, "v1beta1.DeploymentRollback": { "id": "v1beta1.DeploymentRollback", - "description": "DeploymentRollback stores the information required to rollback a deployment.", + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ "name", "rollbackTo" diff --git a/docs/api-reference/apps/v1beta1/definitions.html b/docs/api-reference/apps/v1beta1/definitions.html index e28807b9ddc..8f81db43766 100755 --- a/docs/api-reference/apps/v1beta1/definitions.html +++ b/docs/api-reference/apps/v1beta1/definitions.html @@ -2463,6 +2463,9 @@ When an object is created, the system will populate this list with the current s
DEPRECATED.
+rollbackTo |
-The config this deployment is rolling back to. Will be cleared after rollback is done. |
+DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. |
false |
@@ -4857,7 +4860,7 @@ Examples: |
WIP: This is not ready to be used and we plan to make breaking changes to it. DeploymentRollback stores the information required to rollback a deployment.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
kind |
-Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
-false |
-string |
-- |
apiVersion |
-APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources |
-false |
-string |
-- |
name |
-Required: This must match the Name of a deployment. |
-true |
-string |
-- |
updatedAnnotations |
-The annotations to be updated to a deployment |
-false |
-object |
-- |
rollbackTo |
-The config of this deployment rollback. |
-true |
-- | - |
WIP: This is not ready to be used and we plan to make breaking changes to it.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
revision |
-The revision to rollback to. If set to 0, rollback to the last revision. |
-false |
-integer (int64) |
-- |
false
rollbackTo
The config this deployment is rolling back to. Will be cleared after rollback is done.
false
progressDeadlineSeconds
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
false