Method: projects.locations.awsClusters.awsNodePools.rollback

Rolls back a previously aborted or failed AwsNodePool update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.

HTTP request

POST https://{endpoint}/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the AwsNodePool resource to rollback.

AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>.

See Resource Names for more details on Google Cloud resource names.

Request body

The request body contains data with the following structure:

JSON representation
{
  "respectPdb": boolean
}
Fields
respectPdb

boolean

Optional. Option for rollback to ignore the PodDisruptionBudget when draining the node pool nodes. Default value is false.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • gkemulticloud.awsNodePools.update

For more information, see the IAM documentation.