The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
Manage a cluster

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can manage a Kubernetes cluster so that data protection can be performed.
Step 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
.
Step 2: Optionally, select the storage class
Optionally perform the workflow List storage classes and select the desired storage class.
|
If you don't provide a storage class on the call to manage the cluster, your default storage class will be used. |
Step 3: Manage the cluster
Perform the following REST API call to manage the cluster.
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
POST |
/accounts/{account_id}/topology/v1/managedClusters |
Curl example
curl --request POST \
--location "https://astra.netapp.io/accounts/$ACCOUNT_ID/topology/v1/managedClusters" \
--include \
--header "Accept: */*" \
--header "Authorization: Bearer $API_TOKEN" \
--data @JSONinput
Curl
JSON input example
{
"type": "application/astra-managedCluster",
"version": "1.0",
"id": "d0fdf455-4330-476d-bb5d-4d109714e07d"
}
JSON