A newer release of this product is available.
Manage an app
Suggest changes
You can create a managed application based on an application already known to Astra in a specific namespace. When an application is managed or defined to Astra, you can protect it by taking backups and snapshots.
1. Select the namespace
Perform the workflow List the namespaces and select the namespace.
2. Select the cluster
Perform the workflow List the clusters and select the cluster.
3. Manage the application
Perform the following REST API call to manage the application.
HTTP method | Path |
---|---|
POST |
/accounts/{account_id}/k8s/v2/apps |
Additional input parameters
In addition to the parameters common with all REST API calls, the following parameters are also used in the curl examples for this step.
Parameter | Type | Required | Description |
---|---|---|---|
JSON |
Body |
Yes |
Provides the parameters needed to identify the application to be managed. See the example below. |
JSON input example
{
"clusterID": "7ce83fba-6aa1-4e0c-a194-26e714f5eb46",
"name": "subtext",
"namespaceScopedResources": [{"namespace": "kube-matrix"}],
"type": "application/astra-app",
"version": "2.0"
}
Curl example: Manage an app
curl --location -i --request POST 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/k8s/v2/apps' --header 'Content-Type: application/astra-app+json' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>' --data @JSONinput