Skip to main content
A newer release of this product is available.

Manage a cluster

Contributors dmp-netapp

You can manage a Kubernetes cluster so that data protection can be performed.

1. Select the cluster to manage

Perform the workflow List clusters and select the desired cluster. The property managedState of the cluster must be unmanaged.

2. Optionally select the storage class

Optionally perform the workflow List storage classes and select the desired storage class.

Note If you don't provide a storage class on the call to manage the cluster, your default storage class will be used.

3. Manage the cluster

Perform the following REST API call to manage the cluster.

HTTP method Path

POST

/accounts/{account_id}/topology/v1/managedClusters

JSON input example
{
  "type": "application/astra-managedCluster",
  "version": "1.0",
  "id": "d0fdf455-4330-476d-bb5d-4d109714e07d"
}
Curl example
curl --location -i --request POST 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/topology/v1/managedClusters' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>' --data @JSONinput