Method: projects.locations.generateAttachedClusterInstallManifest

Stay organized with collections Save and categorize content based on your preferences.

Generates the install manifest to be installed on the target cluster.

HTTP request

GET https://{endpoint}/v1/{parent=projects/*/locations/*}:generateAttachedClusterInstallManifest

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

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

Query parameters

Parameters
attachedClusterId

string

Required. A client provided ID of the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attachedClusterId field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

platformVersion

string

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling locations.getAttachedServerConfig.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for AttachedClusters.GenerateAttachedClusterInstallManifest method.

JSON representation
{
  "manifest": string
}
Fields
manifest

string

A set of Kubernetes resources (in YAML format) to be applied to the cluster to be attached.

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 parent resource:

  • gkemulticloud.attachedClusters.generateInstallManifest

For more information, see the IAM documentation.